in reply to parse_dir doesn't seem to work

maybe there are no subdirectories to the current working directory when the script is run?


Perl is environmentally friendly - it saves trees

Replies are listed 'Best First'.
Re^2: parse_dir doesn't seem to work
by nysus (Parson) on Jan 03, 2008 at 17:53 UTC
    There are definitely subdirectories. When I print $listing, there is 151 directories/symlinks.

    $PM = "Perl Monk's";
    $MCF = "Most Clueless Friar Abbot Bishop Pontiff Deacon";
    $nysus = $PM . $MCF;
    Click here if you love Perl Monks

      It may be worth providing a small sample of the $listing contents for those of us that are *nixly challenged.


      Perl is environmentally friendly - it saves trees