Perl in a Nutshell

Perl in a NutshellSearch this book
Previous: 17.2 The LWP ModulesChapter 17
The LWP Library
Next: Reference: getprint
 

get

get (url)

Returns the contents of the specified url. Upon failure, get returns undef. Other than returning undef, there is no way of accessing the HTTP status code or headers returned by the server.


Previous: 17.2 The LWP ModulesPerl in a NutshellNext: Reference: getprint
17.2 The LWP ModulesBook IndexReference: getprint

Library Navigation Links

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