![]() |
|
Your skill will accomplish what the force of many cannot |
|
PerlMonks |
Re: <> oddity ?by hdb (Monsignor) |
on Mar 27, 2013 at 11:00 UTC ( #1025675=note: print w/replies, xml ) | Need Help?? |
Just one more thought... The difference between the first and the other two methods is that in the first you read directly from file whereas in the others you go via the shell somehow. The latter might modify your file. So I am thinking whether there is something in your file sample.txt causing the problem? Such as a missing newline or some non-ASCII, non-printing character? (No further noise from my side...)
In Section
Seekers of Perl Wisdom
|
|