Help for this page

Select Code to Download


  1. or download this
    use strict;
    use warnings;
    ...
        print "$_ : ", $mode ? "file" : "directory", "\n"
    }
    closedir $dir;
    
  2. or download this
    use strict;
    use warnings;
    ...
    
        print "$path is ", $mode ? "file" : "dir", "\n";
    }