Help for this page

Select Code to Download


  1. or download this
    use File::Find;
    
    ...
    find(sub { push(@list, $File::Find::name) }, "/your/path");
    
    # @list contains all file objects at and under /your/path
    
  2. or download this
    find(sub { -f $_ && push(@list, $File::Find::name); 1 }, "/your/path")
    +;