I wouldn't actually write that though. I'd write it the way you originally stated: expr->() if expr.
In reply to Re: Shortening "$bar{foo} if exists $bar{foo}"?
by diotalevi
in thread Shortening "$bar{foo} if exists $bar{foo}"?
by BUU
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |