Beefy Boxes and Bandwidth Generously Provided by pair Networks
laziness, impatience, and hubris
 
PerlMonks  

Re: Can my perl scripts get the IP address that called the script?

by Fletch (Bishop)
on Apr 08, 2022 at 18:09 UTC ( [id://11142851]=note: print w/replies, xml ) Need Help??


in reply to Can my perl scripts get the IP address that called the script?

Possibly, but because you've given no details about how this putative script is actually being run no one's going to be able to help you precisely. For example CGI has a remote_host method, Mojo::Transaction::HTTP has remote_address, yadda yadda yadda.

Be more specific in your questions (preferably with an Short, Self-Contained, Correct Example) and you'll get better answers.

The cake is a lie.
The cake is a lie.
The cake is a lie.

Log In?
Username:
Password:

What's my password?
Create A New User
Domain Nodelet?
Node Status?
node history
Node Type: note [id://11142851]
help
Chatterbox?
and the web crawler heard nothing...

How do I use this?Last hourOther CB clients
Other Users?
Others having an uproarious good time at the Monastery: (3)
As of 2024-04-19 21:45 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found