"be consistent" | |
PerlMonks |
Re^2: Rethrowing with die $@ considered harmfulby xmath (Hermit) |
on Jul 22, 2006 at 10:44 UTC ( [id://562995]=note: print w/replies, xml ) | Need Help?? |
Another alternative: The local of Data::Alias does it right (it ignores ties and such), so this works:
And it avoids localizing the entire *_ The parens here are needed because alias local $_ = ... would be parsed as alias(local $_ = ...) which means the assignment would make an alias, which isn't what you want here.
In Section
Meditations
|
|