Or else the day someone creates a file named dot-newline or dotdot-newline, you'll be very angry.foreach my $file ( grep { !/\A\.{1,2}\z/ } readdir DIR ) { munge($file); }
-- Randal L. Schwartz, Perl hacker
In reply to Re: Re: Is readdir ever deterministic?
by merlyn
in thread Is readdir ever deterministic?
by grinder
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |