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.
In reply to Re: CGI and persistent data
by porta
in thread CGI and persistent data
by stevieb
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |