Perl in a Nutshell

Perl in a NutshellSearch this book
Previous: 17.5 The URI ModuleChapter 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 ModulePerl in a NutshellNext: Reference: as_string
17.5 The URI ModuleBook IndexReference: as_string