in reply to Re^2: -f not identifying .txt files
in thread -f not identifying .txt files
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.
|
---|
Replies are listed 'Best First'. | |
---|---|
Re^4: -f not identifying .txt files
by rucha (Initiate) on Sep 28, 2010 at 04:41 UTC |
In Section
Seekers of Perl Wisdom