I like the way I can do $m->comp('/mason.mas', foo => \%hash, bar => [EMAIL PROTECTED]); and have:

<%args>
%foo               #
@bar => ('some', 'default', 'values')
$baz => 'masonisgood'
</%args>

I want to do this in my own module and subroutines. How is this accomplished? Looked around on CPAN, but didn't find anything that seemed to fit quite right.

(sorry if this is off the topic)

Thanks!

Ryan


-------------------------------------------------------
This SF.net email is sponsored by: Splunk Inc. Do you grep through log files
for problems?  Stop!  Download the new AJAX search engine that makes
searching your log files as easy as surfing the  web.  DOWNLOAD SPLUNK!
http://sel.as-us.falkag.net/sel?cmd=lnk&kid=103432&bid=230486&dat=121642
_______________________________________________
Mason-users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/mason-users

Reply via email to