HTML-Perlinfo
view release on metacpan or search on metacpan
I am trying to avoid the world writables policy on pause.
The last version was fine, but I am trying to lose the
'withoutworldwritables' ext.
1.60 Changes
HTML::Perlinfo::Modules
-Improved the version extraction method for modules.
HTML::Perlinfo will show its version now in INFO_MODULES
1.59 Changes
-HTML::Perlinfo now validates as XHTML 1.0 Transitional.
-Updated the perlinfo utility with INFO_GENERAL
-Added 5 new tests.
-Bug fixes:
HTML::Perlinfo::Modules
-The module description was not escaping POD tags, so some abstracts were garbled.
Fixed now.
1.58 Changes
-Changed title from 'Loaded Files' to 'Loaded Modules' for INFO_LOADED.
-Minor POD update.
lib/HTML/Perlinfo/Base.pm view on Meta::CPAN
$html .= $self->print_htmlhead() if $self->{full_page};
$html .= print_license();
$html .= "</div></body></html>" if $self->{full_page};
defined wantarray ? return $html : print $html;
}
sub print_htmlstart {
my $html = <<"END_OF_HTML";
<?xml version="1.0" encoding="utf-8"?>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN"
"http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en" lang="en">
<head>
END_OF_HTML
}
sub print_htmlhead {
my $self = shift;
lib/HTML/Perlinfo/HTML.pod view on Meta::CPAN
=pod
=head1 NAME
HTML::Perlinfo::HTML - HTML documentation for the perlinfo library
=head1 SUMMARY
HTML::Perlinfo validates as XHTML 1.0 Transitional.
In the perlinfo library, L<HTML::Perlinfo> and L<HTML::Perlinfo::Modules> use the internal module HTML::Perlinfo::Common for HTML generation. This document provides information on that HTML and its manipulation.
=head1 CUSTOMIZING THE HTML
You can capture the HTML output by assigning it to a scalar. Then you can alter the HTML before printing it or doing something else with it. Here is an example that uses the perlinfo function from L<HTML::Perlinfo>:
use HTML::Perlinfo;
my $example = perlinfo(); # Now I can do whatever I want with $example
( run in 1.184 second using v1.01-cache-2.11-cpan-49f99fa48dc )