Beefy Boxes and Bandwidth Generously Provided by pair Networks
more useful options
 
PerlMonks  

Re^3: -f not identifying .txt files

by dHarry (Abbot)
on Sep 24, 2010 at 11:36 UTC ( #861789=note: print w/replies, xml ) Need Help??


in reply to Re^2: -f not identifying .txt files
in thread -f not identifying .txt files

I think the solution has already been suggested, I would just like to point you to the documentation (readdir):

If you're planning to filetest the return values out of a readdir, you'd better prepend the directory in question. Otherwise, because we didn't chdir there, it would have been testing the wrong file.

Harry

Log In?
Username:
Password:

What's my password?
Create A New User
Node Status?
node history
Node Type: note [id://861789]
help
Chatterbox?
[talexb]: 2001 sounds about right .. got myself a separate box just to run Linux on. Seriously clueless.

How do I use this? | Other CB clients
Other Users?
Others romping around the Monastery: (7)
As of 2018-07-17 17:56 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?
    It has been suggested to rename Perl 6 in order to boost its marketing potential. Which name would you prefer?















    Results (374 votes). Check out past polls.

    Notices?