Beefy Boxes and Bandwidth Generously Provided by pair Networks
XP is just a number
 
PerlMonks  

Navigating and Reading Directories

by Sherlock (Deacon)
on Apr 20, 2001 at 02:00 UTC ( #74013=perltutorial: print w/ replies, xml ) Need Help??

Help for this page

Select Code to Download


  1. or download this
    1 : use Cwd;
    2 : 
    ...
    10: }
    11:
    12: closedir DIR;
    
  2. or download this
    1 : use Cwd;
    2 : 
    ...
    11: }
    12:
    13: closedir DIR;
    
  3. or download this
    rewinddir(DIR);
    
  4. or download this
    1 : use Cwd;
    2 : 
    ...
    17: }
    18:
    19: closedir DIR;
    
  5. or download this
    1: use Cwd;
    2:
    3: print getcwd,"\n";
    4: chdir("C:\\");
    5: print getcwd;
    

Log In?
Username:
Password:

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

How do I use this? | Other CB clients
Other Users?
Others studying the Monastery: (8)
As of 2014-12-26 21:41 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    Is guessing a good strategy for surviving in the IT business?





    Results (176 votes), past polls