Help for this page

Select Code to Download


  1. or download this
        my $dir="/path/to/dir";
        opendir(DIR, $dir) or die "can't open $dir: $!";
        my @files = readdir DIR;
        closedir DIR;