[Catalyst] uri rewrite (drop port)

Armin Obersteiner armin at xos.net
Wed Jun 28 09:04:41 CEST 2006


hi!

thanks:

sub uri_for {
  my $c = shift;

  my $uri = $c->NEXT::uri_for(@_);
  $uri->port( undef );

  return $uri;
}

does the trick. removing the port completely.
 
Ciao,
	Armin
--
armin at xos.net                        pgp public key on request        CU



More information about the Catalyst mailing list