Help for this page

Select Code to Download


  1. or download this
    #/usr/bin/perl -w
    
    ...
        print sprintf("file= %30s", $name), sprintf("  ext= %10s", $type),
    +"\n";
    
    }
    
  2. or download this
    my($filename,$ext) = split(/\./,$file);