On Tue, 10 Jan 2006, Malcolm J Harwood wrote:
On Tuesday 10 January 2006 12:56 pm, Ryan Perry wrote:<%args> @StatusTypes => @{$m->request_args->{StatusTypes}} || undef $Status => undef $queueType </%args> What is a better way to do what I'm trying to do?Assuming I'm not missing some context, this should work: <%args> @StatusTypes => undef
But I wouldn't do this, since you probably don't want a single-element array of "( undef )". I think this may be what you want:
@StatusTypes => () This defaults to an empty list. -dave /*=================================================== VegGuide.Org www.BookIRead.com Your guide to all that's veg. My book blog ===================================================*/ ------------------------------------------------------- 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

