Toolserver:Perl/Query string

You may be tempted to parse your query string with regex:

Instead, consider build a hash (more info) from the query string:

This is almost certainly more robust, and it gets you using hashes, which can only be a Good Thing.

Or, use CGI.pm's Vars method to do it for you.

Category:Programming languages