Well, with a million or two you'd almost have to do something like this instead...
opendir my $dir, "." or die $!; while( my $name = readdir $dir ) { next unless $name =~ m/(?:XYZ|\.txt|\w)/; print "doing something on $name\n"; # more code here } closedir $dir;
-Paul
In reply to Re^3: Can't modify private array in concatenation?
by jettero
in thread Can't modify private array in concatenation?
by Anonymous Monk
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |