how to do absolute redirect in perl

$Request->redirect( url => $Std->url("/gp/errors/404"),type =>
"permanent");
works for me
but
$Request->redirect( url => $Std->url("http://www.google.com",
{absolute => 1});
does not work someone please help


--
To unsubscribe, e-mail: beginners-unsubscribe [at] perl.org
For additional commands, e-mail: beginners-help [at] perl.org
http://learn.perl.org/
anujbhambhani [ Do, 02 Juni 2011 11:45 ] [ ID #2060468 ]

Re: how to do absolute redirect in perl

On Thu, 02 Jun 2011 02:45:25 -0700, anujbhambhani wrote:

> $Request->redirect( url =3D> $Std->url("/gp/errors/404"),type =3D>
> "permanent");
> works for me
> but
> $Request->redirect( url =3D> $Std->url("http://www.google.com",
> {absolute =3D> 1});
> does not work someone please help

Please provide a complete script of under 20 lines that we can run, tell
us what output you see from running it, and what output you think you
should see instead.

--
Peter Scott
http://www.perlmedic.com/ http://www.perldebugged.com/
http://www.informit.com/store/product.aspx?isbn=3D0137001274
http://www.oreillyschool.com/courses/perl3/

--
To unsubscribe, e-mail: beginners-unsubscribe [at] perl.org
For additional commands, e-mail: beginners-help [at] perl.org
http://learn.perl.org/
Peter Scott [ Fr, 03 Juni 2011 03:48 ] [ ID #2060470 ]
Perl » gmane.comp.lang.perl.beginners » how to do absolute redirect in perl

Vorheriges Thema: Using $variable outside a foreach loop
Nächstes Thema: Parsing file