I did some debugging, and found a difference in the behaviour of stat, when called with $_ as opposed to the full path passed by $File::Find::name. The file name ($_) works better than the full path, since File::Find already puts you in the correct directory context.my $sb = stat($_) or die "ERROR:Could not stat $_\n$!";
"Income tax returns are the most imaginative fiction being written today." -- Herman Wouk
In reply to Re: Invalid File Handle???
by NetWallah
in thread Invalid File Handle???
by blackadder
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |