http://qs1969.pair.com?node_id=433960


in reply to Re^2: LWP post
in thread LWP post

(The my shouldn't be there.)

The line is optional. It tells LWP what to put in the User-Agent field of the HTTP request, which is pretty much a free-format field. The default is indicates LWP is being used and which version of LWP is being used.

Some web servers use this to return content specific for the browser identified by the string. Some web servers log this to monitor which browsers its users use.