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.
In reply to Re: Reinventing wheels: query string parsing.
by diotalevi
in thread Reinventing wheels: query string parsing.
by BUU
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |