in reply to A dispatch table to match named params of a sub

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} } );

Replies are listed 'Best First'.
Re^2: A dispatch table to match named params of a sub
by RichardK (Parson) on Jun 29, 2015 at 16:37 UTC

    that's what the error message was telling you :-

    Reference found where even-sized list expected at 1132487.pl line 20.

    updated to fix typo