File: Compilation.pm

package info (click to toggle)
libpoet-perl 0.15-1
  • links: PTS, VCS
  • area: main
  • in suites: jessie, jessie-kfreebsd
  • size: 636 kB
  • ctags: 123
  • sloc: perl: 2,292; makefile: 10; sql: 6; sh: 4
file content (11 lines) | stat: -rw-r--r-- 304 bytes parent folder | download
1
2
3
4
5
6
7
8
9
10
11
package Poet::Mason::Plugin::Compilation;
$Poet::Mason::Plugin::Compilation::VERSION = '0.15';
use Mason::PluginRole;

# Add 'use Poet qw($conf $poet :web)' at the top of every component
#
override 'output_class_header' => sub {
    return join( "\n", super(), 'use Poet qw($conf $poet :web);' );
};

1;