Problems? Is your data what you think it is? | |
PerlMonks |
Re: OOP in CGIby jbrugger (Parson) |
on Jul 29, 2005 at 08:20 UTC ( [id://479281]=note: print w/replies, xml ) | Need Help?? |
I use the oo version, i think it's better readable and it fits better in our oo-written application. It's easy to pass references to the cgi-object to other objects, easy to maintain etc. Drawback of oo-style in Perl is that it IS slower, but then that's relative, most of the time sloppy code or bad algorithms slow your app really down, not the use of oo.
"We all agree on the necessity of compromise. We just can't agree on when it's necessary to compromise." - Larry Wall.
In Section
Seekers of Perl Wisdom
|
|