Welcome to the Monastery | |
PerlMonks |
Re: Best practices passing database handles, cgi objects, etc.by scorpio17 (Canon) |
on Feb 18, 2014 at 14:27 UTC ( [id://1075340]=note: print w/replies, xml ) | Need Help?? |
Take look at CGI::Application (and its associated plugins) - it uses an object-oriented approach. The code you actually write simply uses $self->session to access the session object, $self->query to access the cgi object, $self->dbh to access the database object, etc.
In Section
Seekers of Perl Wisdom
|
|