Perl 5 does not support multi functions. What your piece of code does is calling an anonymous subroutine. See Higher Order Perl for more information.
Another way to write this is $handler_for{ $action }->(%opts). See perlreftut and perlref for more information.
In reply to Re: Function call
by moritz
in thread Function call
by akagrawal3
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |