how to do absolute redirect in perl
am 02.06.2011 11:45:25 von anujbhambhani
$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@perl.org
For additional commands, e-mail: beginners-help@perl.org
http://learn.perl.org/
Re: how to do absolute redirect in perl
am 03.06.2011 03:48:50 von Peter Scott
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=20
us what output you see from running it, and what output you think you=20
should see instead.
--=20
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/
--=20
To unsubscribe, e-mail: beginners-unsubscribe@perl.org
For additional commands, e-mail: beginners-help@perl.org
http://learn.perl.org/