[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.
> 
> 
> 

perldoc -f chomp
perldoc -f chop

Should clear everything up. The basic difference is that the second
removes one character, period, the first removes the input record separator.

perldoc perlvar for more about $/

http://danconia.org

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


  • Re: array Wiggins d'Anconia
    • RE: array Larsen, Errin M HMMA/Information Technology Department

Reply via email to