in reply to using CGI with different delimiter than '&'

A better way might be to substitute all of the + in $ENV{QUERY_STRING} with & and then call CGI. (I'm assuming you can rely on the + to always be a separator)

$ENV{QUERY_STRING} =~ s/\+/&/g;

Replies are listed 'Best First'.
Re^2: using CGI with different delimiter than '&'
by EvanK (Chaplain) on Jul 21, 2006 at 18:05 UTC
    yes, but that wouldnt work with the second example the OP provided (in a reply), where it may have + within quoted strings.

    davorg's solution with Text::ParseWords ought to work though.

    __________
    Build a man a fire, and he'll be warm for a day. Set a man on fire, and he'll be warm for the rest of his life.
    - Terry Pratchett