Check the return status of your opendir with opendir(DIR."$dir") or die "Could not open $dir: $!" My bet is on your needing a chomp to get rid of a newline
In reply to Re: Can't seem to see the problem here...
by lemming
in thread Can't seem to see the problem here...
by Anonymous Monk
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |