Mason outside the web
- Nothing inherently web-only about Mason
my $interp =
HTML::Mason::Interp->new
( comp_root => '/path/to/comps' );
my $buffer;
$interp->out_method(\$buffer);
$interp->exec( '/some/component',
size => 10, color => 'blue' );
print $buffer;