Help for this page
open FH, "foo" or die "Can't open foo: $!"; while (<FH>) { ## current line is in $_, process it } close FH or warn "Error closing foo: $!";
while (<>) { ## line is in $_ }
$ process.pl foo.txt bar.txt baz.txt
www.com | www.net | www.org
Cold Temperate Warm Hot Other
Results (60 votes). Check out past polls.