- or download this
print "Enter file name:\n";
chomp(my $file = <STDIN>);
open(DATA,$file);
- or download this
chomp(my $infile = shift);
open(DATA,$infile) or die "Could not open $infile\n";
- or download this
chomp (my $outfile = shift);
open OUTPUT, '>', $outfile or die "Could not open $outfile\n";
- or download this
printf "%-4s: %20s, %-8s %6s\n",
- or download this
printf OUTPUT "%-4s: %20s, %-8s %6s\n",