srins has asked for the wisdom of the Perl Monks concerning the following question:

I am using select option in my template.
There are series of many testcases in my Gui,where each testcases will have drop down associated,contain information about thier version.Say 1 to 10.
If i choose an version of testcase from drop down,i will call change event using an javascript.and will get the query as
$query->param('Testcaseversion');
where i get as
Testcase1-ver1.2 in my cgi file,where i will pass this to my Pm file for some processing.
when i choose another testcase version say
Testcase2-ver1.3.
I am loosing the previous version selected ie Testcase1-ver1.2.
But i need to store my previous version also for some processing.
So i decided to use store in session.But i am not able to retrive from that session also.
Is there any other way to retain my previous value that i selected.
Need help in this regard.
Thanks,
Srins.
  • Comment on How to retain the previous value in perl

Replies are listed 'Best First'.
Re: How to retain the previous value in perl
by Joost (Canon) on Aug 18, 2006 at 19:47 UTC
Re: How to retain the previous value in perl
by xorl (Deacon) on Aug 18, 2006 at 19:42 UTC
    If this is a cgi web thingy, CGI::Session might be of use to you.