Hi,

Is there an easy way to add parameter validation to %args?

E.g. based on the example in the Mason book chapter 2, can I mandate that a 
scalar is one the elements in a list, otherwise an error is thrown?

Pseudo-code:
 
<%args>


$size => [ 'small', 'medium', 'large'] 
     </%args>

Andreas
-- 


                                          
_________________________________________________________________
Hotmail: Trusted email with Microsoft’s powerful SPAM protection.
https://signup.live.com/signup.aspx?id=60969
------------------------------------------------------------------------------

_______________________________________________
Mason-users mailing list
Mason-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/mason-users

Reply via email to