CGI-Application-Bouquet-Rose
view release on metacpan or search on metacpan
lib/CGI/Application/Bouquet/Rose.pm view on Meta::CPAN
Step 7: Install the templates:
shell> scripts/install.templates.pl
Step 8: Install Local::Wines
shell> perl Build.PL
shell> perl Build
shell> sudo perl Build install
Step 9: Install the FastCGId script:
shell> sudo cp -r htdocs/search /var/www
shell> sudo chmod a+x /var/www/search/wine.fcgi
Step 10: Patch httpd.conf (see httpd/httpd.conf.patch):
LoadModule fcgid_module modules/mod_fcgid.so
<Location /search>
SetHandler fcgid-script
Options ExecCGI
Order deny,allow
Deny from all
Allow from 127.0.0.1
</Location>
templates/generator.pl.tmpl view on Meta::CPAN
};
</tmpl_loop>
$template -> param(module_loop =>\@param);
if (<tmpl_var name=verbose>)
{
print STDERR "Updating $io_file_name\n";
}
chmod 0644, $io_file_name;
open(OUT, "> $io_file_name") || die "Can't open(> $io_file_name):$ !";
print OUT $template -> output();
close OUT;
# Generate CGI/CGIApp/*.pm (1 per table).
# The next 4 have to have their own declarations. We can't put them inside module_loop,
# because then they would have to 'belong' to module_loop.
my($dir_name) = '<tmpl_var name=dir_name>';
( run in 0.280 second using v1.01-cache-2.11-cpan-496ff517765 )