Beefy Boxes and Bandwidth Generously Provided by pair Networks
There's more than one way to do things
 
PerlMonks  

Re: Re: Code Critique?

by damian1301 (Curate)
on Jun 15, 2001 at 20:45 UTC ( #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


Comment on Re: Re: Code Critique?
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
Node Status?
node history
Node Type: note [id://88845]
help
Chatterbox?
and the web crawler heard nothing...

How do I use this? | Other CB clients
Other Users?
Others musing on the Monastery: (9)
As of 2014-08-29 10:14 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    The best computer themed movie is:











    Results (277 votes), past polls