in reply to Re: Shortening "$bar{foo} if exists $bar{foo}"?
in thread Shortening "$bar{foo} if exists $bar{foo}"?
How about this Perl6-ish way:
It's still about as much typing, though.given %foo{bar} { .() if exists }
In Section
Seekers of Perl Wisdom