in reply to Re^5: Save form data with decoded URL chars
in thread Save form data with decoded URL chars

Man, sorry but I just don't get it... :-(

I took a look at examples as well, and there is an example script there using save method as well...

  • Comment on Re^6: Save form data with decoded URL chars

Replies are listed 'Best First'.
Re^7: Save form data with decoded URL chars
by Anonymous Monk on Aug 09, 2012 at 02:13 UTC

    Man, sorry but I just don't get it... :-(

    What exactly?

      For example, why do you have 2 equal signs on your output ? Isn't it just easier to write $qry->save ? And then that part that I would have to create a new cgi...

        For example, why do you have 2 equal signs on your output ?

        Its your output too.

        Look at the code, its because the data contains equal signs and newlines, and if you undo the serialization that CGI->save does, then you've corrupted your data (ro is no longer qq{=sh\nam=bo\n}, its only =sh, but now there is an extra parameter am with the value bo -- both newlines go missing )

        And then that part that I would have to create a new cgi...

        WHAT?!