
ningji
Novice
Nov 2, 2012, 7:24 PM
Views: 1634
|
|
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)
|