]>
iEval git - gruntmaster-page.git/blob - lib/Gruntmaster/Page/Index.pm
5cf282de00963fe064b7b68ef79fbc491181cb0f
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 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.044085 seconds and 4 git commands to generate.