« blib/lib/auto/share/dist/Poet/generate.skel/lib/MyApp/Log.pm
↑ Summary
blib/lib/auto/share/dist/Poet/generate.skel/lib/MyApp/Mason/Compilation.pm »
| 1 | package <% $app_name %>::Mason; | ||
| 2 | use Poet qw($conf $poet); | ||
| 3 | use Poet::Moose; | ||
| 4 | |||
| 5 | extends 'Poet::Mason'; | ||
| 6 | |||
| 7 | # Add customizations to Poet::Mason here. | ||
| 8 | # | ||
| 9 | # e.g. Add plugins | ||
| 10 | # | ||
| 11 | # override 'get_plugins' => sub { | ||
| 12 | # return ( super(), 'LvalueAttributes', 'TidyObjectFiles' ); | ||
| 13 | # } | ||
| 14 | |||
| 15 | # You can also create Mason subclasses in <% $app_name %>/Mason, e.g. | ||
| 16 | # <% $app_name %>::Mason::Request, and they will be autodetected by Mason. | ||
| 17 | |||
| 18 | 1; |