in reply to
mini-languages for MVC view/controller manipulation
Also, passing arguments to a component does not use standard Perl syntax
What I mean by this is shown here
. Summarily, even though something is typed as an array or hash:
you end up calling it with references like this:
<& /display, elements => \@some_data, labels => \%data_labels &>
a normal Perl subroutine would use $elements
to receive both.
Whether the Mason syntax is more articulate is not the issue at hand. The issue at hand is that knowing Perl is not enough to receive arguments. You must learn a new calling convention. And when things like this happen, I develop paranoia about what else might be a hair different from what I invested great amounts time and money learning: pure Perl.