nysus has asked for the wisdom of the Perl Monks concerning the following question:
Using perl version 5.8.8. No errors, but nothing is returned even though there are definitely entries in the directory. Any ideas?1 #!/usr/bin/perl 2 use File::Listing qw(parse_dir); 3 $listing = `ls -l`; 4 @directories = parse_dir($listing); 5 print @directories;
$PM = "Perl Monk's";
$MCF = "Most Clueless Friar Abbot Bishop Pontiff Deacon";
$nysus = $PM . $MCF;
Click here if you love Perl Monks
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re: parse_dir doesn't seem to work
by Cubes (Pilgrim) on Jan 03, 2008 at 17:38 UTC | |
by nysus (Parson) on Jan 03, 2008 at 17:43 UTC | |
by Cubes (Pilgrim) on Jan 03, 2008 at 17:49 UTC | |
by nysus (Parson) on Jan 03, 2008 at 18:17 UTC | |
by randyk (Parson) on Jan 03, 2008 at 18:42 UTC | |
by Cubes (Pilgrim) on Jan 03, 2008 at 18:25 UTC | |
by nysus (Parson) on Jan 04, 2008 at 02:13 UTC | |
|
Re: parse_dir doesn't seem to work
by GrandFather (Saint) on Jan 03, 2008 at 17:49 UTC | |
by nysus (Parson) on Jan 03, 2008 at 17:53 UTC | |
by GrandFather (Saint) on Jan 03, 2008 at 17:58 UTC |