Beefy Boxes and Bandwidth Generously Provided by pair Networks
go ahead... be a heretic
 
PerlMonks  

Re: Re: Code Critique?

by damian1301 (Curate)
on Jun 15, 2001 at 20:45 UTC ( [id://88845]=note: print w/replies, xml ) Need Help??


in reply to Re: Code Critique?
in thread Code Critique?

I am so happy that I just discovered CGI::Pretty for all my HTML generating needs. I LIKE CGI::PRETTY. HAPPY TILLY?

So I guess it is <root-node poster's name here> 's decision on what (s)he wants to use. :)

Tiptoeing up to a Perl hacker.
Dave AKA damian

Replies are listed 'Best First'.
Re (tilly) 3: Code Critique?
by tilly (Archbishop) on Jun 18, 2001 at 22:44 UTC
    Hmmm...

    CGI::Pretty inherits from CGI so it loads CGI.pm. No improvement there. It goes through extra work to maintain nicely formatted HTML, so no improvement there. It sends lots of extra whitespace down the pipe, which can be a huge slowdown as pages get big and complex. (As a slight reprieve the excess compresses well for users on modems.)

    There is one reason and one reason only for using CGI::Pretty. And that is that you want to be able to read and understand the output HTML. (Which is not a bad reason, all things considered.) But performance is made worse, not better.

Log In?
Username:
Password:

What's my password?
Create A New User
Domain Nodelet?
Node Status?
node history
Node Type: note [id://88845]
help
Chatterbox?
and the web crawler heard nothing...

How do I use this?Last hourOther CB clients
Other Users?
Others exploiting the Monastery: (7)
As of 2024-03-28 22:20 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found