in reply to CGI and persistent data
CGI::Application::PLugin::Session + Data::Dumper can do the trick?
You can dump the variables to the session and then eval them each time. If you're using CGI::App you can even use cgiapp_prerun / cgiapp_postrun to handle the dump/eval to/from session and set the values as parameters on CGI::App.
That way, you only need to get/set the values as params from the $self (or whatever you use to represent your CGI::App object). That sounds simple and clean for me.
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re^2: CGI and persistent data
by stevieb (Canon) on Aug 28, 2009 at 00:23 UTC |