Hi. I am trying to work out how I would assign values to a new CGI object within a sub-routine. I am already running the sub, so there is not a posibility of using 'hidden' values in the HTML page before. Is this possible? I'm pretty sure I saw some code around once explaining how to do it, but I can't for the life of me find it now :(
I have looked at the documents here;
http://[1] http://search.cpan.org/author/LDS/CGI.pm-2.93/CGI.pm
http://[2] http://search.cpan.org/author/LDS/CGI.pm-2.93/CGI.pm#SETTING_THE_VALUE_S_OF_A_NAMED_PARAMETER_
...but the code I have made from these examples;
$IN->param( -name=>'SessionDate', -value=>$date );
...doesn't seem to be working
Anyone got any ideas? I know for a fact there is stuff about it in this forum, but I just can't find it :(
Cheers
Andy (mod)
andy@ultranerds.co.uk
IMPORTANT: I've now moved to ultranerds.co.uk, and the .com will no longer work!
Want to give me something back for my help? Please see my Amazon Wish List
GLinks ULTRA Package (plugins total "value" $3,325 & rising, for just $350)| GLinks ULTRA Package PRO (plugins total "value" $5,625 & rising, for just $500)
Support Forum | Links SQL Plugins | DMOZ Dumps | UltraNerds | ULTRAGLobals Plugin | Pre-Made Template Sets | FREE GLinks Plugins!
Compare our different Plugin packages *new* Free CSS Templates
I have looked at the documents here;
http://[1] http://search.cpan.org/author/LDS/CGI.pm-2.93/CGI.pm
http://[2] http://search.cpan.org/author/LDS/CGI.pm-2.93/CGI.pm#SETTING_THE_VALUE_S_OF_A_NAMED_PARAMETER_
...but the code I have made from these examples;
$IN->param( -name=>'SessionDate', -value=>$date );
...doesn't seem to be working
Anyone got any ideas? I know for a fact there is stuff about it in this forum, but I just can't find it :(
Cheers
Andy (mod)
andy@ultranerds.co.uk
IMPORTANT: I've now moved to ultranerds.co.uk, and the .com will no longer work!
Want to give me something back for my help? Please see my Amazon Wish List
GLinks ULTRA Package (plugins total "value" $3,325 & rising, for just $350)| GLinks ULTRA Package PRO (plugins total "value" $5,625 & rising, for just $500)
Support Forum | Links SQL Plugins | DMOZ Dumps | UltraNerds | ULTRAGLobals Plugin | Pre-Made Template Sets | FREE GLinks Plugins!
Compare our different Plugin packages *new* Free CSS Templates

