grashoper has asked for the wisdom of the Perl Monks concerning the following question:
opendir(DIR, $some_dir) || die "can't opendir $some_dir: $!"; @dots = grep { /^\./ && -f "$some_dir/$_" } readdir(DIR); closedir DIR;
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re: can I get a translation
by ELISHEVA (Prior) on Apr 23, 2009 at 14:51 UTC | |
|
Re: can I get a translation
by ikegami (Patriarch) on Apr 23, 2009 at 14:45 UTC | |
|
Re: can I get a translation
by kennethk (Abbot) on Apr 23, 2009 at 14:53 UTC | |
by grashoper (Monk) on Apr 23, 2009 at 15:15 UTC | |
by kennethk (Abbot) on Apr 23, 2009 at 15:26 UTC | |
|
Re: can I get a translation
by Anonymous Monk on Apr 23, 2009 at 14:43 UTC |