Clear questions and runnable code get the best and fastest answer |
|
PerlMonks |
Re: Re: Re: Re: Works locally but not on Info Serverby Arien (Pilgrim) |
on Jan 18, 2003 at 05:33 UTC ( [id://227929]=note: print w/replies, xml ) | Need Help?? |
There is no point in doing that regex (corrected to your version above) after map, it will always fail. Also, you may want to skip all dot-files, since they are supposed to be hidden. my @files = grep { not /^\./ and -M "$mydir/$_" > 1 } readdir(DIR);— Arien
In Section
Seekers of Perl Wisdom
|
|