use CGI; my $q = CGI->new(q{itag=44&url=...AND SO ON }); print $_, ' = ', $q->param($_),"\n" for qw/ itag url /; __END__ itag = 44 url = ...AND SO ON