in reply to Redirection from a server.

print CGI->redirect('Y'); exit;

Replies are listed 'Best First'.
Re^2: Redirection from a server.
by Your Mother (Archbishop) on Aug 27, 2008 at 16:53 UTC

    Absolute URIs are required by the HTTP spec. Calling redirect as a method in this context doesn't have a benefit over calling it as function and is probably slower.

    perl -MCGI print CGI::redirect( CGI::url(-base => 1) . "/Y" );
      Y is a new server, so that makes no sense