in reply to Re^6: 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... :-(

What exactly?

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

Replies are listed 'Best First'.
Re^8: Save form data with decoded URL chars
by SerZKO (Beadle) on Aug 09, 2012 at 05:52 UTC
    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?!

        This : "...save is a CGI.pm serialization method, if you want to read the file again, use CGI.pm's new, ..."

        What do you mean by undo serialization ? Go back on browser or ?