Re: array



By the way, since you mentioned chomp - what is the difference between
chomp and chop? I think they are both for removing some type of
un-needed whitespace - does one do space, and the other newline or
something?

> also chomp() the $guess variable to remove the unneeded newline.


--

Dave
All us base are belong to you.
.



Relevant Pages

  • Re: array
    ... since you mentioned chomp - what is the difference between ... > chomp and chop? ... >>also chompthe $guess variable to remove the unneeded newline. ... perldoc -f chomp ...
    (perl.beginners)
  • Re: Right regex to match -- comments or blank line?
    ... chomp(); is removing the \n; ... > Hi Folks: ... > The script I'm reading in looks like this: ...
    (comp.lang.perl)