home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
Chip 2000 May
/
Chip_2000-05_cd1.bin
/
zkuste
/
Perl
/
ActivePerl-5.6.0.613.msi
/
䆊䌷䈹䈙䏵-䞅䞆䞀㡆䞃䄦䠥
/
_6ea82ac7b6eed693b733d838e47b0f44
< prev
next >
Wrap
Text File
|
2000-03-23
|
4KB
|
135 lines
<HTML>
<HEAD>
<TITLE>URI::URL - Uniform Resource Locators</TITLE>
<LINK REL="stylesheet" HREF="../../../Active.css" TYPE="text/css">
<LINK REV="made" HREF="mailto:">
</HEAD>
<BODY>
<TABLE BORDER=0 CELLPADDING=0 CELLSPACING=0 WIDTH=100%>
<TR><TD CLASS=block VALIGN=MIDDLE WIDTH=100% BGCOLOR="#cccccc">
<STRONG><P CLASS=block> URI::URL - Uniform Resource Locators</P></STRONG>
</TD></TR>
</TABLE>
<A NAME="__index__"></A>
<!-- INDEX BEGIN -->
<UL>
<LI><A HREF="#name">NAME</A></LI><LI><A HREF="#supportedplatforms">SUPPORTED PLATFORMS</A></LI>
<LI><A HREF="#synopsis">SYNOPSIS</A></LI>
<LI><A HREF="#description">DESCRIPTION</A></LI>
<LI><A HREF="#see also">SEE ALSO</A></LI>
<LI><A HREF="#copyright">COPYRIGHT</A></LI>
</UL>
<!-- INDEX END -->
<HR>
<P>
<H1><A NAME="name">NAME</A></H1>
<P>URI::URL - Uniform Resource Locators</P>
<P>
<HR>
<H1><A NAME="supportedplatforms">SUPPORTED PLATFORMS</A></H1>
<UL>
<LI>Linux</LI>
<LI>Solaris</LI>
<LI>Windows</LI>
</UL>
<HR>
<H1><A NAME="synopsis">SYNOPSIS</A></H1>
<PRE>
$u1 = URI::URL->new($str, $base);
$u2 = $u1->abs;</PRE>
<P>
<HR>
<H1><A NAME="description">DESCRIPTION</A></H1>
<P>This module is provided for backwards compatibility with modules that
depend on the interface provided by the <CODE>URI::URL</CODE> class that used to
be distributed with the libwww-perl library.</P>
<P>The following differences compared to the <CODE>URI</CODE> class interface exist:</P>
<UL>
<LI>
The URI::URL module exports the <CODE>url()</CODE> function as an alternate
constructor interface.
<P></P>
<LI>
The constructor takes an optional $base argument. See <A HREF="../../../site/lib/URI/WithBase.html">the URI::WithBase manpage</A>.
<P></P>
<LI>
The URI::URL->newlocal class method is the same as URI::file->new_abs
<P></P>
<LI>
URI::URL::strict(1)
<P></P>
<LI>
$url->print_on method
<P></P>
<LI>
$url->crack method
<P></P>
<LI>
$url->full_path; same as ($uri->abs_path || ``/'')
<P></P>
<LI>
$url->netloc; same as $uri->authority
<P></P>
<LI>
$url->epath, $url->equery; same as $uri->path, $uri->query
<P></P>
<LI>
$url->path and $url->query pass unescaped strings.
<P></P>
<LI>
$url->path_components; same as $uri->path_segments (if you don't
consider path segment parameters).
<P></P>
<LI>
$url->params and $url->eparams methods.
<P></P>
<LI>
$url->base method. See <A HREF="../../../site/lib/URI/WithBase.html">the URI::WithBase manpage</A>.
<P></P>
<LI>
$url->abs and $url->rel have an optional $base argument. See
<A HREF="../../../site/lib/URI/WithBase.html">the URI::WithBase manpage</A>.
<P></P>
<LI>
$url->frag; same as $uri->fragment
<P></P>
<LI>
$url->keywords; same as $uri->query_keywords;
<P></P>
<LI>
$url->localpath with friends map to $uri->file
<P></P>
<LI>
$url->address and $url->encoded822addr; same as $uri->to for mailto URI.
<P></P>
<LI>
$url->groupart method for news URI.
<P></P>
<LI>
$url->article; same as $uri->message
<P></P></UL>
<P>
<HR>
<H1><A NAME="see also">SEE ALSO</A></H1>
<P><A HREF="../../../site/lib/URI.html">the URI manpage</A>, <A HREF="../../../site/lib/URI/WithBase.html">the URI::WithBase manpage</A></P>
<P>
<HR>
<H1><A NAME="copyright">COPYRIGHT</A></H1>
<P>Copyright 1998-1999 Gisle Aas.</P>
<TABLE BORDER=0 CELLPADDING=0 CELLSPACING=0 WIDTH=100%>
<TR><TD CLASS=block VALIGN=MIDDLE WIDTH=100% BGCOLOR="#cccccc">
<STRONG><P CLASS=block> URI::URL - Uniform Resource Locators</P></STRONG>
</TD></TR>
</TABLE>
</BODY>
</HTML>