See post and get problem especially Re^3: post and get problem
$ perl -e " my( $foo, $bar ) = @ARGV; print qq{$foo and $bar\n}; " one + two one and two $ perl -e " print qq{$foo and $bar\n}; " and
Its your basic life cycle of variables aka coping with scoping .... when the program ends, all the variables go away, there are no more variables, that is the life cycle of variables and programs
If you want data to exist past the end of your program , if you want the data to persist, you have to save the data, to a file, to a database... CGI::Session offers a simple API for persisting data with a limited shelf life ...
In reply to Re: getting parameters (life cycle of variables and programs and data persistence)
by Anonymous Monk
in thread getting parameters
by bigup401
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |