Beefy Boxes and Bandwidth Generously Provided by pair Networks
Keep It Simple, Stupid
 
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 imbibing at the Monastery: (12)
As of 2014-07-31 20:10 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    My favorite superfluous repetitious redundant duplicative phrase is:









    Results (252 votes), past polls