Gantry-Plugins-Session
view release on metacpan or search on metacpan
sub process_web_files {
my $self = shift;
my $files = $self->find_web_files;
return unless @$files;
my $tmpl_dir = File::Spec->catdir($self->blib, 'web');
File::Path::mkpath( $tmpl_dir );
foreach my $file (@$files) {
my $result = $self->copy_if_modified($file, $tmpl_dir)
or next;
#$self->fix_shebang_line($result);
}
}
sub find_web_files {
my $self = shift;
my $p = $self->{properties};
my $b_tmpl_dir = $p->{build_web_directory};
$b_tmpl_dir =~ s/\/$//g;
( run in 2.055 seconds using v1.01-cache-2.11-cpan-39bf76dae61 )