Beefy Boxes and Bandwidth Generously Provided by pair Networks
Do you know where your variables are?
 
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 taking refuge in the Monastery: (12)
As of 2014-10-30 16:41 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    For retirement, I am banking on:










    Results (208 votes), past polls