CGI/Perl Guide | Learning Center | Forums | Advertise | Login
Site Search: in

  Main Index MAIN
INDEX
Search Posts SEARCH
POSTS
Who's Online WHO'S
ONLINE
Log in LOG
IN

Home: Perl Programming Help: Beginner: Re: [FishMonger] cgi.pm question: difference between param and cookie: Edit Log



ningji
Novice

Nov 2, 2012, 7:24 PM


Views: 2324
Re: [FishMonger] cgi.pm question: difference between param and cookie

it's working, :) Thanks very much !

but this is what i don't understand,


$q->param(-name=>"first_var", -value => $v1);
$q->param(-name=>"second_var", -value => $v2);
}
What do you expect these lines to do? I can assure you that they don't do what you expect and are not needed/wanted. Remove them.


thought these 2 lines are updating the values for "first_var", "second_var".
this is what param( ) for.

is it because these 2 lines are not inside the form block ?


(This post was edited by ningji on Nov 2, 2012, 7:50 PM)


Edit Log:
Post edited by ningji (Novice) on Nov 2, 2012, 7:50 PM


Search for (options) Powered by Gossamer Forum v.1.2.0

Web Applications & Managed Hosting Powered by Gossamer Threads
Visit our Mailing List Archives