array through pages

2003-01-13 Thread koudjo ametepe
hello everybody
thank you for al your request and suggests.
I have a problem with array in perl cgi .I want to pass an array trhough two pages , just like we do with a simple varaiable ; but i can't find the way to do it .
Please can you give me sme ideas about it 
Thank you 
koudjo MSN Search, le moteur de recherche qui pense comme vous ! Cliquez-ici 


Re: array through pages

2003-01-13 Thread Sven Geisler
Hi koudjo,

easy:

use Storable qw(freeze thaw);
use MIME::Base64 qw(encode_base64 decode_base64);


# to encode use:
$pass_throw_var = encode_base64(freeze(\@your_array));

...

# to decode use:
$your_array_ref = thaw(decode_base64($pass_throw_var));


Regards
Sven.

Am Mon, 2003-01-13 um 10.26 schrieb koudjo ametepe:
 hello everybody
 
 thank you for al your request and suggests.
 
 I have a problem with array in perl cgi .I want to pass an array trhough two 
 pages , just like we do with a simple varaiable ; but i can't find the way 
 to do it .
 
 Please can you give me sme ideas about it
 
 Thank you
 
 koudjo
 
 
 
 
 _
 MSN Search, le moteur de recherche qui pense comme vous ! 
 http://search.msn.fr/worldwide.asp