Perl in a Nutshell

Perl in a NutshellSearch this book
Previous: Reference: methodChapter 17
The LWP Library
Next: 17.3 The HTTP Modules
 

url

 $req->url ([url])

Sets or retrieves the URL for the request object. Without an argument, this method retrieves the current URL for the object. url is a string containing the new URL to set for the request or a URI::URL object.


Previous: Reference: methodPerl in a NutshellNext: 17.3 The HTTP Modules
Reference: methodBook Index17.3 The HTTP Modules