It's even possible to reduce the statement by two whole characters! — although I would argue that the code is de-clarified by doing so:
c:\@Work\Perl\monks>perl -wMstrict -le "sub mysub { print 'hiya'; } my $hr = { sub_ref => \&mysub }; $hr->{sub_ref}(); " hiya
Give a man a fish: <%-{-{-{-<
In reply to Re^2: call external sub ref from method in single line
by AnomalousMonk
in thread call external sub ref from method in single line
by previous
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |