alias(local $_) = @_ ? $_[0] : $_;
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 reply to Re^2: Rethrowing with die $@ considered harmful
by xmath
in thread Rethrowing with die $@ considered harmful
by ysth
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |