App-Navegante
view release on metacpan or search on metacpan
examples/headers view on Meta::CPAN
filename(./headers)
formtitle(Process Headers)
proc(id)
proctags(h1=>toitalic,h2=>underline,h3=>toitalic,h4=>underline)
desc(headersDesc)
##
sub headersDesc {
return "<br>Change headers content only. H1 content is processed by toupper function, H2 by tobold and H3 by toitalic as defined in application's DSL.<br><pre>
cginame(./headers)
formtitle(Process Headers)
proc(id)
proctags(h1=>uc,h2=>tobold,h3=>toitalic)
desc(headersDesc)
</pre>
Good example to test: <a href='http://nrc.homelinux.org/headers.html'>http://nrc.homelinux.org/headers.html</a><br>Example's source: <pre>
<body>
<h1>This is header 1</h1>
content blah
<h2>This is header 2</h2>
content blah
<h3>This is header 3</h3>
content blah
<h4>This is header 4</h4>
content blah
</body>
</pre>
";
}
sub id {
my $item = shift;
return $item;
}
sub underline {
my $t = shift;
return "<u>$t</u>";
}
sub toitalic {
my $t = shift;
return "<i>$t</i>";
}
( run in 0.542 second using v1.01-cache-2.11-cpan-cdf2f3d4e48 )