This is like the getsite function of wwwurl in libwww-perl 0.40: sub site { my $self = shift; return $self->host.':'.$self->port; } Handy for those Host: foo:666 headers and host/port hashes. Nicolai