You're right I should have stated CGI.
So I added:
my $q = new CGI; my $userIP = $q->remote_addr();
And it works. Is there a way to mark a question closed?
In reply to Re^2: Can my perl scripts get the IP address that called the script?
by bartender1382
in thread Can my perl scripts get the IP address that called the script?
by bartender1382
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |