Help for this page

Select Code to Download


  1. or download this
    #!/usr/bin/perl -w
    use Data::Dumper;
    ...
        push(@files,$_) if(-d "$_");
    }
    print "\n". Dumper(@files) ."\n";
    
  2. or download this
    sean@seanc:~/code/temp$ ls -l
    total 16
    ...
    $VAR1 = 'dir1';
    $VAR2 = 'dir2';
    $VAR3 = 'dir3';