If you're running under mod_perl, you could do a (internal) redirect like that (from perldoc Apache):
my $r = shift; # Get the Apache request
$r->internal_redirect( $newplace )
Redirect to a location in the server namespace without
telling the client. For instance:
$r->internal_redirect("/home/sweet/home.html");