- or download this
perl myprog.pl fred.txt - barney.txt
- or download this
my $fname = '-';
...
...
print "current file name: $fname\n";
die ".....$!";
}
- or download this
current file name: -
.....No such file or directory ...
- or download this
use strict;
use warnings;
...
line 3
line 2
line 1 #end output from data1.txt