The deref op '->' is unnecessary there, and there is an alternative of nearly the same length with the and op, exists $bar{'foo'} and $bar{'foo'}();
After Compline,
Zaxo
In reply to Re: Shortening "$bar{foo} if exists $bar{foo}"?
by Zaxo
in thread Shortening "$bar{foo} if exists $bar{foo}"?
by BUU
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |