go ahead... be a heretic | |
PerlMonks |
Re: ls piped tpo perl -pe runs indefintelyby Anonymous Monk |
on May 01, 2012 at 13:46 UTC ( [id://968253]=note: print w/replies, xml ) | Need Help?? |
shift keeps on reducing the number of elements in @ARGV in the second instance. Thus the while loop (via -n option) ends eventually. See perldoc perlrun, and Deparse ...
In Section
Seekers of Perl Wisdom
|
|