# $q = CGI-Objekt my $url = $q->url(-full=>1, -path_info=>1); $url =~ s/(.+)\/path/info/hier/$1\/neue/path/info/; return $self->redirect($url);