in reply to Need to create a pre and post string from a REQUEST_URI
Does it have to be a regex. It seems straightforward, using "&" and then "=" to split the string.
untested code below:
@pairs = split( /\&/, $ENV{'REQUEST_URI'} );
Then go through the array, split the strings on '='.
CrazyInsomniac pointed out that my split was not esacping the '&'
<cite>Just a tongue-tied, twisted, earth-bound misfit. -- Pink Floyd</cite>
|
|---|