If you want to pass a list into your handler, you need to pass the list, not a reference:
$sub{t01}->{name}->( @{ $sub{t01}->{arg} } );
In reply to Re: A dispatch table to match named params of a sub
by Corion
in thread A dispatch table to match named params of a sub
by neilwatson
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |