Beefy Boxes and Bandwidth Generously Provided by pair Networks
laziness, impatience, and hubris
 
PerlMonks  

Re: why use OO nature in CGI?

by elwarren (Curate)
on May 21, 2005 at 21:17 UTC ( #459281=note: print w/ replies, xml ) Need Help??


in reply to why use OO nature in CGI?

When working in an environment where you're moving alot of data (probably in and out of a database) and you can't have it hardcoded in html, this does the job better and also allows someone else to maintain it:

print scrolling_list(-name=>'list_name', -values=>@listdata, -default=>@listdefaults, -size=>$listsize, -multiple=>'true', -labels=>\%labels, -attributes=>\%attributes);


Comment on Re: why use OO nature in CGI?
Download Code

Log In?
Username:
Password:

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

How do I use this? | Other CB clients
Other Users?
Others about the Monastery: (4)
As of 2014-09-23 00:57 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    How do you remember the number of days in each month?











    Results (209 votes), past polls