hi
( 06.01.10 13:16 -0600 ) Ryan Perry:
> <%args>
> @StatusTypes => ref $m->request_args->{StatusTypes} eq 'ARRAY' ? @{$m-
> >request_args->{StatusTypes}} : $m->request_args->{StatusTypes}
> </%args>
> is there a better way for me to be doing this though?
assign it to a scalar and then check later [in <%init>] to see if it's an
array ref or not.
i like to avoid having anything other than assignment in the <%args>
section as it's liable to be missed later.
--
\js oblique strategy: distorting time
-------------------------------------------------------
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://ads.osdn.com/?ad_id=7637&alloc_id=16865&op=click
_______________________________________________
Mason-users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/mason-users