Beefy Boxes and Bandwidth Generously Provided by pair Networks
Do you know where your variables are?
 
PerlMonks  

Re: reading directories

by higle (Chaplain)
on Sep 14, 2001 at 21:17 UTC ( [id://112469]=note: print w/replies, xml ) Need Help??

Help for this page

Select Code to Download


  1. or download this
    opendir(DIR, "/users/foo/")
      || die "Whoops!";
    ...
      || warn "Unable to close DIR";
    
    splice(@bar, 0, 2); #get rid of '.' and '..'
    

Log In?
Username:
Password:

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

How do I use this?Last hourOther CB clients
Other Users?
Others having a coffee break in the Monastery: (5)
As of 2024-03-29 07:46 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found