Taking it one step further, it seems you can also call it in void context (which is maybe more efficient):
if ($val == 2 ){ keys %hash; return "The key for 2 is $key\n"; }
In reply to Re^2: Ouch! Each! Reentrant it is not
by Thilosophy
in thread Ouch! Each! Reentrant it is not
by Thilosophy
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |