What Perl web infrastructure should I use for a static HTML application?

I am going to develop a simple web application (5-6 static pages). Is there any framework that I could use for this? I can simply write these HTML pages without a framework, but I would like to create a framework as it will do better with the header, footer and CSS on the website.

I have a Perl script that will modify these HTML pages daily. And I do not need a database.

+3
source share
6 answers

ttree for this purpose.

+10
source

HTML Perl script. , .. HTML .

, /bin/sh unix:)

: , , ..

+2

: .

+1

make , (Genshi , ) .

0

, , -, () . Perl script, . .

my $page = GauravWebpageClass->new(-title => 'Page Title');
$page->add_style('anotherStyle.css');
$page->add_script('fancyJavascript.js');
$page->print_header();

# Print your content here
# Print your content here
# Print your content here

$page->print_footer();

. , , - Perl. , .

0

Source: https://habr.com/ru/post/1770495/


All Articles