more useful options | |
PerlMonks |
Re: perl -n seemingly eating a line of inputby ikegami (Patriarch) |
on May 01, 2017 at 15:47 UTC ( [id://1189267]=note: print w/replies, xml ) | Need Help?? |
Well yeah, that's the point of -n. Specifically, -n wraps your code with
Fix (with -n):
Fix (without -n):
In Section
Seekers of Perl Wisdom
|
|