Beefy Boxes and Bandwidth Generously Provided by pair Networks
Your skill will accomplish
what the force of many cannot
 
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 browsing the Monastery: (11)
As of 2014-09-17 20:53 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    How do you remember the number of days in each month?











    Results (99 votes), past polls