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

Re: Re: •Re: Re: Create a list of directories without . and ..

by Juerd (Abbot)
on Jun 04, 2002 at 22:36 UTC ( [id://171660]=note: print w/replies, xml ) Need Help??


in reply to Re: •Re: Re: Create a list of directories without . and ..
in thread Create a list of directories without . and ..

-d $_ and ! /^\.\.?$/

No, you meant \z instead of $. $ matches _before_ \n (if there is any). Newline is a valid character in filenames with many filesystems.

- Yes, I reinvent wheels.
- Spam: Visit eurotraQ.

  • Comment on Re: Re: •Re: Re: Create a list of directories without . and ..

Log In?
Username:
Password:

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

How do I use this?Last hourOther CB clients
Other Users?
Others meditating upon the Monastery: (4)
As of 2024-04-20 04:15 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found