Lire::WWW::URL(3pm)

Lire::WWW::URL3pm

Analyze urls

Usage

 use Lire::WWW::URL;
 my $url = new Lire::WWW::URL;
 $url->parse( 'http://www.example.com:8080/index.html' );
 my $url = Lire::WWW::URL->new( 'ftp://localhost/' );
 my $port = $url->{'port'} ⎪⎪ '-';

Overview

Lire::WWW::URL objects have 'scheme', 'host', 'port', 'path', 'query' and 'fragment' fields, if defined.

Developers

Do not add extra functionality to this module! If more functionality is needed, be sure to consider dropping this module, and make Lire requiring the URI CPAN module. (Available for Debian as liburi-perl.) Be aware URI depends on MIME::Base64.

Version

$Id: URL.pm,v 1.2 2002/02/03 22:35:41 vanbaal Exp $

Bugs

This module is somewhat http biased. Support for ftp and other schemes is sloppy.

Authors

Joost van Baal <[email protected]>

From lire 20020214-7 in Debian 3.0 (Woody). Parsed by carta from the page's man source.