UNIX ON-LINE Man Pages - Die Onlinehilfe

Die Syntax von Unixbefehlen wird in den entsprechenden Manpages dokumentiert. Hier können Sie diese Onlinehilfe für viele Standardbefehle abrufen.

Suchoptionen:
Seiten auflisten, welche beginnen mit:
A   B   C   D   E   F   G   H   I   J   K   L   M   N   O   P   Q   R   S   T   U   V   W   X   Y   Z   ALPHA   NUM   ANDERE   ALLE
URI::WithBase(3)      User Contributed Perl Documentation     URI::WithBase(3)

NAME
       URI::WithBase - URIs which remember their base

SYNOPSIS
        $u1 = URI::WithBase->new($str, $base);
        $u2 = $u1->abs;

        $base = $u1->base;
        $u1->base( $new_base )

DESCRIPTION
       This module provides the "URI::WithBase" class.  Objects of this class
       are like "URI" objects, but can keep their base too.  The base
       represents the context where this URI was found and can be used to
       absolutize or relativize the URI.  All the methods described in URI are
       supported for "URI::WithBase" objects.

       The methods provided in addition to or modified from those of "URI"
       are:

       $uri = URI::WithBase->new($str, [$base])
           The constructor takes an optional base URI as the second argument.
           If provided, this argument initializes the base attribute.

       $uri->base( [$new_base] )
           Can be used to get or set the value of the base attribute.  The
           return value, which is the old value, is a URI object or "undef".

       $uri->abs( [$base_uri] )
           The $base_uri argument is now made optional as the object carries
           its base with it.  A new object is returned even if $uri is already
           absolute (while plain URI objects simply return themselves in that
           case).

       $uri->rel( [$base_uri] )
           The $base_uri argument is now made optional as the object carries
           its base with it.  A new object is always returned.

SEE ALSO
       URI

COPYRIGHT
       Copyright 1998-2002 Gisle Aas.

perl v5.12.1                      2008-04-04                  URI::WithBase(3)
 

Scannen Sie den Barcode um die Webseite zu öffnen


Quelle: http://www.trinler.net/de/service/doc/linux/man.html?command=URI%3A%3AWithBase
Gedruckt am: 20.09.2017 16:50 GMT+0200 (2017-09-20T16:50:59+02:00)