"Geetha Weerasooriya" schreef: > while(<DATA>) { > chop;
You must hate DOS. > s/\s//g; That already removes any CR or LF, so no chomp (or chop) was necessary. -- Affijn, Ruud "Gewoon is een tijger." -- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] <http://learn.perl.org/> <http://learn.perl.org/first-response>