HTML-Perlinfo

 view release on metacpan or  search on metacpan

Changes  view on Meta::CPAN

	- Added titles to the perlinfo methods
	- Improved pod
	HTML::Perlinfo::Modules:
	- Added columns parameter. This allowed me to rewrite a lot of internal code.
	- Changed color parameter to exclude color section without 3rd element in array ref
        - Improved pod
        Bug fixes:
        - Fixed a bug that excluded links of the config keys in the INFO_CONFIG section

1.43 Bug fix that breaks old versions:
	The previous version did not print the content-type header for HTML::Perlinfo::Modules. Upon
	reflection, automatically printing the header is a bad idea anyway. So the perlinfo library 
	no longer prints the content-type header. I added this feature a long time ago. But it causes 
	more problems than anything else. Users must now print the header themselves.

	Other changes:
	- Added better titles to the perlinfo pages
	- HTML::Perlinfo::Common:
		* Changed the image locations per image hosting policy. 
	- HTML::Perlinfo::Modules:
		* print_modules now returns undef when no modules are found.
		* Improved error reporting for the internal search_dir function
	- HTML.pod:

lib/HTML/Perlinfo.pm  view on Meta::CPAN

You can capture the HTML output and manipulate it or you can alter CSS elements with object attributes.

For further details and examples, please see the L<HTML documentation|HTML::Perlinfo::HTML> in the HTML::Perlinfo distribution.

=head1 SECURITY

Displaying detailed server information on the internet is not a good idea and HTML::Perlinfo reveals a lot of information about the local environment. While restricting what system users can publish online is wise, you can also hinder them from using...

=head1 NOTES

1. Print the content-type header first if you are using the module in a CGI setting. (mod_perl handles this for you automatically.) If you do not print the header, you will produce an internal server error. Of course, you can forgo a Web server entir...

2. If the HTML takes too long to load in the browser, then you can try flushing the output buffer. By flushing the buffer, the HTML will start appearing immediately. 

INFO_APACHE relies soley on environment variables. If you don't use Apache, there is nothing to worry about. You do not need to turn INFO_APACHE off or anything. The section will simply not appear. Any Web server information will still be in the envi...

INFO_VARIABLES did not work correctly until version 1.52.

INFO_LOADED is the only option whose output cannot be assigned to a scalar. 

Since the module outputs HTML, you may want to use it in a CGI script, but you do not have to. Of course, some information, like HTTP headers, would not be available if you use the module at the command-line. If you decide to use this module in a CGI...

	use HTML::Perlinfo;

	print "Content-type: text/html\n\n";
	perlinfo();

Some might notice that HTML::Perlinfo shares the look and feel of the PHP function phpinfo. It was originally inspired by that function and was first released in 2004 as PHP::Perlinfo, which is no longer available on CPAN.   

=head1 BUGS

lib/HTML/Perlinfo/Loaded.pm  view on Meta::CPAN

=head1 SYNOPSIS

    #!/usr/bin/perl
    use HTML::Perlinfo::Loaded;
    ...

=head1 DESCRIPTION

This module installs an at-exit handler to generate an HTML dump of all the module files used by a Perl program. As an added bonus, environment variables are also included in this dump. When used under mod_perl, the module will show you preloaded mod...

Since the "dump" is a complete HTML page, this module is a good debugging tool for Web applications. Just make sure you print the content-type header beforehand or you will get an internal server error (malformed header).   

Note that the HTML::Perlinfo function 'perlinfo' has an option called INFO_LOADED that will produce the same result. In other words, there is more than one way to do it! Observe:

    use HTML::Perlinfo;

    perlinfo(INFO_LOADED);

The result will be the same if you say:

    #!/usr/bin/perl

lib/HTML/Perlinfo/Modules.pm  view on Meta::CPAN

For further details and examples, please see the L<HTML documentation|HTML::Perlinfo::HTML> in the HTML::Perlinfo distribution.

=head1 BUGS

Please report any bugs or feature requests to C<bug-html-perlinfo@rt.cpan.org>, or through the web interface at
L<http://rt.cpan.org/NoAuth/ReportBug.html?Queue=HTML-Perlinfo>.
I will be notified, and then you'll automatically be notified of progress on your bug as I make changes.

=head1 NOTES

If you decide to use this module in a CGI script, make sure you print out the content-type header beforehand.  

=head1 SEE ALSO

L<HTML::Perlinfo::Loaded>, L<HTML::Perlinfo>, L<perlinfo>, L<Module::Info>, L<Module::CoreList>.

=head1 AUTHOR

Mike Accardo <accardo@cpan.org>

=head1 COPYRIGHT



( run in 2.164 seconds using v1.01-cache-2.11-cpan-524268b4103 )