![]() |
|
good chemistry is complicated, and a little bit messy -LW |
|
PerlMonks |
Re^3: CGI::Application, the cgiapp_prerun mode, and CGI object interactionby cees (Curate) |
on Oct 17, 2005 at 01:58 UTC ( #500639=note: print w/replies, xml ) | Need Help?? |
My recommendation would be to start trimming your code down until things start working. The way you are calling $self->param(...) should work fine, and that value should be recoverable from within your runmode. I'll ask again, are you sure that code is being executed? Try the following and you will see that your concept should work fine. Just save all of it into one file, and run it from the command line:
I have one more question for you. Do you have the following line in your code somewhere?
If so, then remove it and things will most likely start to work for you.
In Section
Seekers of Perl Wisdom
|
|