my @lines=<FILE>;
chomp(my @lines=<FILE>); # should remove your newlines.
Cheers, Sören
(hooked on the Perl Programming language)
In reply to Re: removing \n with for each
by Happy-the-monk
in thread removing \n with for each
by MynameisAchint
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |