Beefy Boxes and Bandwidth Generously Provided by pair Networks
Pathologically Eclectic Rubbish Lister
 
PerlMonks  

-d fails outside the current working directory

by Anonymous Monk
on Jun 05, 2002 at 09:17 UTC ( [id://171767]=perlquestion: print w/replies, xml ) Need Help??

Help for this page

Select Code to Download


  1. or download this
    C:\www\NB.biz\html>type test.pl
    #!e:/perl/bin/perl.exe -w
    ...
    print "\nJust named directories:\n",  grep { -d $_ and $_ ne '.' and $
    +_ ne '..'} read
    dir(DIR);
    closedir(DIR);
    
  2. or download this
    C:\www\NB.biz\html>test.pl .
    Arg:.
    ...
    Just named directories:
    
    C:\www\NB.biz>
    

Log In?
Username:
Password:

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

How do I use this?Last hourOther CB clients
Other Users?
Others cooling their heels in the Monastery: (5)
As of 2024-05-20 18:13 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found