htmanning has asked for the wisdom of the Perl Monks concerning the following question:
I'm missing something here. I have a link with 2 params, (cell and target_dir).
use CGI qw(:standard); use CGI 'param'; $store = new CGI; $cell = $store->param('cell'); $target_dir = $store->param('target_dir');
The link looks like this: http://domain.com/script.pl?cell=123&target_dir=/usr/me/attachments/
All I get from the script is the target_dir. I'm not getting the cell returned. What am I doing wrong?
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re: Multiple params
by hippo (Archbishop) on Jan 21, 2018 at 17:58 UTC | |
|
Re: Multiple params
by choroba (Cardinal) on Jan 20, 2018 at 22:29 UTC | |
|
Re: Multiple params (sub DebugCGI101
by Anonymous Monk on Jan 20, 2018 at 23:49 UTC |