Sorry, my fault for not being clear. I wrote:
print ${exists $foo{'bar'}}; #[...][is] really no different from: print ${$foo{'bar'}};
When what I meant is that either can be considered 'wrong' for the same reason: that they may be undef or scalar or whatnot, therefore breaking the dereference.
In reply to Re^6: optimization - exists should return a reference
by LAI
in thread optimization - exists should return a reference
by John M. Dlugosz
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |