Your skill will accomplish what the force of many cannot |
|
PerlMonks |
What's wrong with this grep?by chanakya (Friar) |
on Nov 06, 2009 at 12:21 UTC ( [id://805459]=perlquestion: print w/replies, xml ) | Need Help?? |
chanakya has asked for the wisdom of the Perl Monks concerning the following question:
Dear Monks, I'm doing a directory listing for files with pattern YYYYMMDD.HHMMSS.host2.pid and want to exclude other files. I'm using read_dir method from File::Slurp . The below script gives me '0' files after execution. What's wrong with the grep. please point me to the right direction.
Back to
Seekers of Perl Wisdom
|
|