Help for this page

Select Code to Download


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