]>
iEval git - gruntmaster-page.git/blob - lib/Gruntmaster/Page/Index.pm
604be12c057c27eb721687b12e3d39b043eb7101
1 package Gruntmaster
::Page
::Index
;
6 use parent qw
/Exporter/;
7 our @EXPORT_OK = qw
/generate/;
8 our $VERSION = '0.001';
10 use constant TITLE
=> 'Gruntmaster 6000';
13 use HTML
::Template
::Compiled
;
15 use Gruntmaster
::Page
::Common qw
/header footer/;
22 $templates{$_} = header
($_, TITLE
) . $templates{$_} for keys %templates;
23 $templates{$_} .= footer
$_ for keys %templates;
26 my $template = $templates{$_[1]};
27 my $htc = HTML
::Template
::Compiled
->new(scalarref
=> \
$template);
28 IO
::File
->new('>meta.yml')->close unless -f
'meta.yml';
29 flock my $metafh = IO
::File
->new('<meta.yml'), LOCK_SH
;
This page took 0.04743 seconds and 4 git commands to generate.