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


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.