manpagez: man pages & more
man CGI::Pretty(3)
Home | html | info | man
CGI::Pretty(3)        User Contributed Perl Documentation       CGI::Pretty(3)




NAME

       CGI::Pretty - module to produce nicely formatted HTML code


CGI::Pretty IS DEPRECATED

       It will be removed from the CGI distribution in a future release, so
       you should no longer use it and remove it from any code that currently
       uses it.

       For now it has been reduced to a shell to prevent your code breaking,
       but the "pretty" functions will no longer output "pretty" HTML.


Alternatives

       HTML::HTML5::Parser + HTML::HTML5::Writer + XML::LibXML::PrettyPrint:

           print HTML::HTML5::Writer->new(
               start_tags => 'force',
               end_tags   => 'force',
           )->document(
               XML::LibXML::PrettyPrint->new_for_html( indent_string => "\t" )
               ->pretty_print(
                   HTML::HTML5::Parser->new->parse_string( $html_string )
               )
           );

       Marpa::R2::HTML(3) (see the html_fmt script for examples)

       HTML::Tidy(3)

       HTML::Parser(3)



perl v5.22.2                      2016-06-14                    CGI::Pretty(3)

cgi 4.310.0 - Generated Wed Jun 29 18:44:43 CDT 2016
© manpagez.com 2000-2024
Individual documents may contain additional copyright information.