First explicit filehandling:
Now, anonymous filehandling:for my $fname (@ARGV) { open(IN, $fname); print while <IN>; close IN; }
All candor shared would be greatly appreciated.print while <>;
In reply to anonymous filehandes? by Anonymous Monk
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |