Clear questions and runnable code get the best and fastest answer |
|
PerlMonks |
Re^3: -f not identifying .txt filesby tirwhan (Abbot) |
on Sep 24, 2010 at 10:48 UTC ( [id://861778]=note: print w/replies, xml ) | Need Help?? |
Check the working directory in which you are executing the script. I'd wager you have the .pl and Dumper.pm files in there, but not the others. To fix your script change, on line 20 of the code given if(-f $_)to if(-f "$p/$_") All dogma is stupid.
In Section
Seekers of Perl Wisdom
|
|