GThorne has asked for the wisdom of the Perl Monks concerning the following question:
opendir (DIR, $srcname) || die "can't open dir $srcname: $! \n"; while (defined($file = readdir(DIR))) {next if $file =~ /^\.\.?$/; . . . }
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re: Reading Files/Directories
by jZed (Prior) on Apr 04, 2005 at 20:08 UTC | |
by GThorne (Initiate) on Apr 04, 2005 at 20:25 UTC | |
by merlyn (Sage) on Apr 04, 2005 at 20:37 UTC | |
by GThorne (Initiate) on Apr 04, 2005 at 21:11 UTC | |
by jZed (Prior) on Apr 04, 2005 at 20:30 UTC | |
by GThorne (Initiate) on Apr 04, 2005 at 21:12 UTC |