causes Perl to assume the following loop around your program, which makes it iterate over filename arguments somewhat like sed -n or awk:So, perl replaces '...' with jwkrahn's '}{print $.'.LINE: while (<>) { ... # your program goes here }
Make sense now?
In reply to Re^3: one liner - open file and read
by FunkyMonk
in thread one liner - open file and read
by baxy77bax
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |