Beefy Boxes and Bandwidth Generously Provided by pair Networks
Problems? Is your data what you think it is?
 
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 about the Monastery: (5)
As of 2014-08-29 06:15 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    The best computer themed movie is:











    Results (275 votes), past polls