NOTE: use Perl; is on undef hiatus. You can read content, but you can't post it. More info will be forthcoming forthcomingly.
All the Perl that's Practical to Extract and Report
Stories, comments, journals, and other submissions on use Perl; are Copyright 1998-2006, their respective owners.
js-uri (Score:2)
Reply to This
Re: (Score:1)
Yeah, I saw that while doing some research. Looked like a good crack at URI parsing, but ultimately I went with Steven Levithan's parseUri:
http://blog.stevenlevithan.com/archives/parseuri [stevenlevithan.com]
My take was an exercise in wrapping the parser and providing methods to access/update the path, query, etc.
I've put up an interactive example here (which will show you the code at the same time):
http://appengine.bravo9.com/b9j/example/uri/ [bravo9.com]