Help for this page

Select Code to Download


  1. or download this
    use strict;
    use warnings;
    ...
            search_dir($entry) if -d $entry;
        }
    }
    
  2. or download this
    use strict;
    use warnings;
    ...
            push @stack, $entry if -d $entry;
        }
    }
    
  3. or download this
    use strict;
    use warnings;
    ...
        print $entry, "\n" and next if -f $entry;
        push @stack, glob("$entry/*");
    }
    
  4. or download this
    use strict;
    use warnings;
    ...
        print $entry, "\n" and next if -f $entry;
        unshift @stack, glob("$entry/*");
    }