Using ^ and $ would also match files named .\n or ..\n.print "$file\n" if $file !~ /\A\.{1,2}\Z/;
In reply to Re: Re: If statements with . and .. filehandles.
by dsheroh
in thread If statements with . and .. filehandles.
by sparkyichi
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |