laziness, impatience, and hubris | |
PerlMonks |
Re: system call and newline interpretattion.by robartes (Priest) |
on May 24, 2005 at 14:35 UTC ( [id://459995]=note: print w/replies, xml ) | Need Help?? |
Quite possibly your $_ comes from reading in a line in a file and contains a newline. Try chomp before you use $_. Then again, as you do not provide context, the problem might be a completely different one. CU
In Section
Seekers of Perl Wisdom
|
|