Perl in a Nutshell

Perl in a NutshellSearch this book
Previous: Reference: full_pathChapter 17
The LWP Library
Next: Reference: netloc
 

host

 $url->host([hostname])

When invoked with no parameters, this method returns the hostname in the URL defined in the object. When invoked with a parameter, the object's hostname is assigned to that value.


Previous: Reference: full_pathPerl in a NutshellNext: Reference: netloc
Reference: full_pathBook IndexReference: netloc