For Programmers: Free Programming Magazines  


Home > Archive > PERL CGI Beginners > March 2005 > Unsticky fields with CGI?









You are viewing an archived Text-only version of the thread. To view this thread in it's original format and/or if you want to reply to this thread please [click here]

 

Author Unsticky fields with CGI?
Jan Eden

2005-03-11, 8:55 am

Hi,

how can I turn off stickiness for CGI's HTML methods.

Example:

I call a script with parameter "mode=3Dnew" and the following line

print $q->hidden('mode', 'slurp');

prints out

<input type=3D"hidden" name=3D"mode" value=3D"new" />

instead of=20

<input type=3D"hidden" name=3D"mode" value=3D"slurp" />

I tried the -nosticky pragma when loading CGI, but it did not change the be=
haviour.

How can I force CGI to print the parameter value passed with the method ins=
tead of the one passed when calling the script?

Thanks,

Jan
--=20
The day Microsoft makes something that doesn't suck is the day they start s=
elling vacuum cleaners.
Sponsored Links







Also available: Server administration forum archive | Web Design forum archive | Software forum archive | Hardware reviews archive

Copyright 2008 codecomments.com