in reply to Re^2: Reading file contents
in thread Reading file contents
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.
|
|---|