http://qs321.pair.com?node_id=229307

Biker has asked for the wisdom of the Perl Monks concerning the following question:

I'm playing around with SOAP::Lite as a CGI script.

My little CGI test script works fine, but I'm looking for a way to find out the IP address of the caller of the script. (I believe the IP address technically can be spoofed, but this is to be executed in a fairly trusted environment.)

It would be useful when logging unexpected input parameter contents to the CGI script and also (potentially) for statistics purposes.

I haven't found any hints in the docs I've read so far.

Any hints?


Everything went worng, just as foreseen.