sysopen(my $FH,$path,O_RDONLY) or die "Could not open $path the 2nd time";
You have already declared $FH so the my declares it again which masks the previously declared variable of the same name.
In reply to Re^3: Reading file contents
by d5e5
in thread Reading file contents
by Dramton
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |