...
Code Block | ||||
---|---|---|---|---|
| ||||
my $filename = # initialize open( FILE, $filename) or carpcroak("file not found"); while (<FILE>) { print "$file: $_"; }; |
...
Code Block | ||||
---|---|---|---|---|
| ||||
my $filename = # initialize open( FILE, "<$filename") or carpcroak("file not found"); while (<FILE>) { print "$file: $_"; }; |
...
Code Block | ||||
---|---|---|---|---|
| ||||
my $filename = # initialize open( FILE, $filename) or carpcroak("file not found"); while (<>) { print ":: $_"; }; |
...
Code Block | ||||
---|---|---|---|---|
| ||||
my $filename = # initialize open( FILE, "<", $filename) or carpcroak("file not found"); while (<FILE>) { print "$file: $_"; }; |
...