- or download this
perl short_path.pl input_fie output_file
- or download this
print "Enter file name:\n";
chomp(my $file = <STDIN>);
open(DATA,$file) or die "failed opening file!!";
- or download this
ins split /,\s*/ for <DATA>;
- or download this
for (<>) {
chomp;
ins split /,\s*/;
}
- or download this
perl short_path.pl input_file > output_file