If you're getting more entries than you expect, then there are more entries in @filelist than you expect. Adding
at the top of your loop might tell you why.print "$fle\n";
In reply to Re: Problem stripping directory listing
by dws
in thread Problem stripping directory listing
by Anonymous Monk
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |