On Tue, 8 Jul 2008, S P Arif Sahari Wibowo wrote:
> Another question: is it possible for Mason to use component / 
> template text stored in a variable / part of the executing 
> script?

Never mind. Just got it from HTML::Mason::Interp

my $i= HTML::Mason::Interp->new();
my $c= $i->make_component(comp_source=> ...);
$i->exec($c)

Thanks!

-- 
                              (stephan paul) Arif Sahari Wibowo
    _____  _____  _____  _____
   /____  /____/ /____/ /____
  _____/ /      /    / _____/      http://www.arifsaha.com/

-------------------------------------------------------------------------
Sponsored by: SourceForge.net Community Choice Awards: VOTE NOW!
Studies have shown that voting for your favorite open source project,
along with a healthy diet, reduces your potential for chronic lameness
and boredom. Vote Now at http://www.sourceforge.net/community/cca08
_______________________________________________
Mason-users mailing list
Mason-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/mason-users

Reply via email to