Beefy Boxes and Bandwidth Generously Provided by pair Networks
Your skill will accomplish
what the force of many cannot
 
PerlMonks  

Re: Re: If statements with . and .. filehandles.

by dsheroh (Monsignor)
on Jun 18, 2002 at 23:49 UTC ( #175537=note: print w/replies, xml ) Need Help??


in reply to Re: If statements with . and .. filehandles.
in thread If statements with . and .. filehandles.

Correction:
print "$file\n" if $file !~ /\A\.{1,2}\Z/;
Using ^ and $ would also match files named .\n or ..\n.

Log In?
Username:
Password:

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

How do I use this? | Other CB clients
Other Users?
Others perusing the Monastery: (4)
As of 2022-05-23 07:55 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?
    Do you prefer to work remotely?



    Results (81 votes). Check out past polls.

    Notices?