Beefy Boxes and Bandwidth Generously Provided by pair Networks
Your skill will accomplish
what the force of many cannot

Re: RFC refactoring

by Amoe (Friar)
on Feb 14, 2002 at 18:43 UTC ( #145528=note: print w/ replies, xml ) Need Help??

in reply to RFC refactoring

In principle, I think CGI::Simple is a good idea; I don't think that the module CGI is cluttered by unnecessary functions (I've used most of it, and it was all necessary), but I'll go blind if I read the source. I'm not sure about its performance issues, having always worked with it - I expect raw HTML generation would be faster.

But if CGI::Simple takes out the HTML generation methods, I won't be switching. I really hate embedding HTML; the Camel's claim that perl "makes different things look different" is all very well, but embedding HTML makes code so ugly. I think's interface has such a distinctive style that it would obscure the code to manually generate HTML. Oh, and where's the data on the methods not being used by "a significant percentage of users"? Most scripts I've seen use them.

my one true love

Comment on Re: RFC refactoring
Replies are listed 'Best First'.
Re: Re: RFC refactoring
by tachyon (Chancellor) on Feb 15, 2002 at 12:08 UTC

    Naturally it depends on where you work but round here, and in many other places, graphic designers generate virtually all the HTML. Templating allows coders to code perl and designers to design HTML. This way there is essentially NO HTML in your perl code be it in the form of HERDOCS or HTML generating stuff.

    IMHO Perl coders fall into two categories, split roughly 50:50. One half hate the HTML side of and half love it. No prizes for guessing which side I fall into.




Log In?

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

How do I use this? | Other CB clients
Other Users?
Others about the Monastery: (7)
As of 2015-12-01 19:35 GMT
Find Nodes?
    Voting Booth?

    My keyboard shows this many letters:

    Results (26 votes), past polls