Think about Loose Coupling | |
PerlMonks |
comment on |
( [id://3333]=superdoc: 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 reply to Re: OOP in CGI
by jbrugger
|
|