Help for this page

Select Code to Download


  1. or download this
    use File::Basename;
    my $dir = dirname($path);
    ...
    while (glob $dir) {
      # this will loop through files in that directory, putting each filen
    +ame in $_
    }