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

Perl in a Nutshell

Perl in a NutshellSearch this book
Previous: Reference: host Chapter 17
The LWP Library
Next: Reference: params
 

netloc

 $

url


->netloc
([

netloc

])

When invoked with no parameters, this method returns the network location for the URL defined in the object. The network location is a string composed of "user:password@host:port", where the user, password, and port may be omitted when not defined. When netloc is invoked with a parameter, the object's network location is defined to that value. Changes to the network location are reflected in the user , password , host , and port methods.


Previous: Reference: host Perl in a Nutshell Next: Reference: params
Reference: host Book Index Reference: params