Beefy Boxes and Bandwidth Generously Provided by pair Networks
There's more than one way to do things
 
PerlMonks  

Navigating and Reading Directories

by Sherlock (Deacon)
on Apr 20, 2001 at 02:00 UTC ( [id://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
Domain Nodelet?
Node Status?
node history
Node Type: perltutorial [id://74013]
help
Chatterbox?
and the web crawler heard nothing...

How do I use this?Last hourOther CB clients
Other Users?
Others sharing their wisdom with the Monastery: (4)
As of 2024-04-24 20:37 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found