Reference: agent (Perl in a Nutshell)

Perl in a Nutshell

Perl in a NutshellSearch this book
Previous: Reference: requestChapter 17
The LWP Library
Next: Reference: clone
 

agent

 $ua->agent([string])

When invoked with no arguments, this method returns the current value of the identifier used in the User-Agent HTTP header. If invoked with an argument, the User-Agent header will use string as its identifier in the future.


Previous: Reference: requestPerl in a NutshellNext: Reference: clone
Reference: requestBook IndexReference: clone

Library Navigation Links

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