On Thursday 31 May 2001 22:30, Ken wrote:

>
> If you're reading this input from a file maybe try using a chomp?

chomp isn't always good. It's better to use 
s/\r?\n?$//;

or even
s/\s*$//;

-- 
Ondrej Par
Internet Securities
Software Engineer
e-mail: [EMAIL PROTECTED]
Phone: +420 2 222 543 45 ext. 112

Reply via email to