Beefy Boxes and Bandwidth Generously Provided by pair Networks
good chemistry is complicated,
and a little bit messy -LW
 
PerlMonks  

Re: Dumb or Cursed?

by ides (Deacon)
on May 23, 2002 at 18:59 UTC ( [id://168876]=note: print w/replies, xml ) Need Help??


in reply to Problems with -filetest on readdir results

When using file test operators like -d you need to give it the full path to the file. You might try for instance
print "$_\n" if ( -d "$path/$_" );

-----------------------------------
Frank Wiles <frank@wiles.org>
http://frank.wiles.org

Log In?
Username:
Password:

What's my password?
Create A New User
Domain Nodelet?
Node Status?
node history
Node Type: note [id://168876]
help
Chatterbox?
and the web crawler heard nothing...

How do I use this?Last hourOther CB clients
Other Users?
Others exploiting the Monastery: (4)
As of 2024-04-25 15:40 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found