in reply to mini-languages for MVC view/controller manipulation
Also, passing arguments to a component does not use standard Perl syntaxWhat 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:<%args> @elements %labels </%args>
a normal Perl subroutine would use $elements and $labels to receive both.<& /display, elements => \@some_data, labels => \%data_labels &>
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.
In Section
Meditations