in reply to Why did this error slip through?
print "$ENV{FOO}\n"; # FOO stil in environment!!!Considering that the bareword FOO can also be a filehandle, you really do not want perl to warn if a (potential) filehandle is used as a hash index. How's perl to know that when you write FOO, you really meant FOO, but when you write _, you might have typoed $_?
|
|---|