Strictly speaking, you can't. The web server at the other end of the request your UserAgent is making gets the IP address off of the socket. Without serious, OS-level magic, you can't forge that IP addr.
What you can do is to take the REMOTE_ADDR that your UserAgent sees, and either
All of these require that the CGI represented by $url cooperate.
In reply to Re: LWP User Agent Difficulty
by dws
in thread LWP User Agent Difficulty
by Anonymous Monk
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |