Don't ask to ask, just ask | |
PerlMonks |
Re: <> oddity ?by LanX (Saint) |
on Mar 27, 2013 at 10:26 UTC ( [id://1025668]=note: print w/replies, xml ) | Need Help?? |
this $ ./weird.pl sample.txt is fundamentally different to
the first passes a filename as argument while the latter two pipe the content of this file into STDIN. See ARGV for a way to solve this.
Cheers Rolf ( addicted to the Perl Programming Language)
In Section
Seekers of Perl Wisdom
|
|