start page | rating of books | rating of authors | reviews | copyrights

Perl in a Nutshell

Perl in a NutshellSearch this book
Previous: 17.5 The URI Module Chapter 17
The LWP Library
Next: Reference: as_string
 

abs

 $

url


->abs
([

base

, [

scheme

]])

Returns the absolute URL, given a base. If invoked with no parameters, any previous definition of the base is used. The second parameter is a Boolean that modifies abs 's behavior. When the second parameter is nonzero, abs will accept a relative URL with a scheme but no host, like "http:index.html".


Previous: 17.5 The URI Module Perl in a Nutshell Next: Reference: as_string
17.5 The URI Module Book Index Reference: as_string

Library Navigation Links

Copyright © 2001 O'Reilly & Associates. All rights reserved.