1 use CatalystX
::GlobalContext
qw( $c );
2 # this script is called like /bare_mason.pl/path/to/mason.mas, and
3 # simply executes the mason component with no parameters and returns
6 # example usage: provide the site header and footer html as a web service
13 if( my $component_name = $cgi->path_info ) {
15 print $c->render_mason( $component_name, bare_render => 1 );