Dear All

Although this in no longer important to me, I cannot appear to reset
$r->arg to an empty value.

I am writing a transhandler and if the args containted a certain value I
wanted to reset it to the args value without this value.

hence:


my $args = $r->args;

# remove value
$args =~ s/value//;

# resetting $r->args; 
$r->args($value);


If $args has more then value, then the args will be reset correctly.

However if $args, only contains value, and hence after the regex is now
empty, then the reset will not work, and $r->args() still contains the
orginal values...

Is this a bug / feature or just unexplained functionality ?

Greg Cope


Reply via email to