home | O'Reilly's CD bookshelfs | FreeBSD | Linux | Cisco | Cisco Exam  


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.