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?? |
-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.
In Section
Seekers of Perl Wisdom
|
|