in reply to Re: Is readdir ever deterministic?
in thread Is readdir ever deterministic?
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
|
|---|