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

Re^4: RFC: Class::CGI

by Belgarion (Chaplain)
on Apr 08, 2006 at 17:57 UTC ( #542063=note: print w/ replies, xml ) Need Help??


in reply to Re^3: RFC: Class::CGI
in thread RFC: Class::CGI

Tying it into CGI::Application wouldn't be a problem. In your CGI::Application base class override cgiapp_get_query():

package My::CGI::Application; use base 'CGI::Application'; use Class::CGI handlers => { customer_id => 'My::Customer', referral_id => 'My::Customer', sales_date => ['My::Date::Handler', qw(sales_month sales_day sales_year)], }; sub cgiapp_get_query { my $self = shift; return Class::CGI->new; } 1;


Comment on Re^4: RFC: Class::CGI
Download Code

Log In?
Username:
Password:

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

How do I use this? | Other CB clients
Other Users?
Others about the Monastery: (11)
As of 2014-09-19 15:22 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

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











    Results (142 votes), past polls