[EMAIL PROTECTED] wrote:
> 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.

perldoc -f chomp
perldoc -f chop

One removes the last character of a line, the other removes the newline
("\n") at the end of a line.

--Errin

--
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
<http://learn.perl.org/> <http://learn.perl.org/first-response>


Reply via email to