On Tue, Apr 14, 2009 at 05:06:22PM +0100, Jérôme Etévé wrote: > What is the way to call $m->scomp('/foo' , ... ) ; in the way it > gives the same as > <&| /foo &> > ... content ... > </&>
If there is one, it's more magical than I can discern, so I suspect the answer is "you can't". Maybe your component could declare an optional content variable: <%args> $content => undef </%args> % $content = $m->content if $m->has_content; that sort of thing? hdp. ------------------------------------------------------------------------------ This SF.net email is sponsored by: High Quality Requirements in a Collaborative Environment. Download a free trial of Rational Requirements Composer Now! http://p.sf.net/sfu/www-ibm-com _______________________________________________ Mason-users mailing list Mason-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/mason-users