in reply to Reinventing wheels: query string parsing.

Disregarding your actual code, why don't you copy from CGI.pm if you want to do something differently? Instead of making your own gueses at what works, take some known good code and alter it to fit.

Oh yeah, and you forgot to localize $_. You stomp on it right now - that's unfriendly.

  • Comment on Re: Reinventing wheels: query string parsing.

Replies are listed 'Best First'.
Re: Re: Reinventing wheels: query string parsing.
by BUU (Prior) on Jul 27, 2003 at 21:06 UTC
    >>Disregarding your actual code, why don't you copy from CGI.pm if you want to do something differently?
    Copy *what* from CGI.pm?

    >>Oh yeah, and you forgot to localize $_. You stomp on it right now - that's unfriendly.
    Good point, I fixed it in my code but I can't update my root node so..

      I once read the query parsing code in CGI.pm. If I found it, so can you.