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

Perl in a Nutshell

Perl in a NutshellSearch this book
Previous: Reference: full_path Chapter 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_path Perl in a Nutshell Next: Reference: netloc
Reference: full_path Book Index Reference: netloc

Library Navigation Links

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