Beefy Boxes and Bandwidth Generously Provided by pair Networks
Welcome to the Monastery
 
PerlMonks  

Re: CGI::Application and $self->param() wierdness

by samtregar (Abbot)
on Jul 08, 2004 at 03:15 UTC ( [id://372658]=note: print w/replies, xml ) Need Help??


in reply to CGI::Application and $self->param() wierdness

Because setup() is called by new() and you're not setting the params until new() returns. Pass them to new() via PARAMS and you'll see them in setup().

-sam

  • Comment on Re: CGI::Application and $self->param() wierdness

Replies are listed 'Best First'.
Re^2: CGI::Application and $self->param() wierdness
by Anonymous Monk on Jul 08, 2004 at 05:26 UTC
    Thank you. I feel kind of silly. I was familiar with the PARAMS option on the new method, but didn't realize the significance/difference. Works fine after modification.

Log In?
Username:
Password:

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

How do I use this?Last hourOther CB clients
Other Users?
Others lurking in the Monastery: (None)
    As of 2024-04-25 02:05 GMT
    Sections?
    Information?
    Find Nodes?
    Leftovers?
      Voting Booth?

      No recent polls found