in reply to Retrieving network information
Have you looked at Sys::Hostname? Or maybe you wanted gethostbyaddr? I'm not exactly sure which of the two you want, because you talk of a "Computer that is running the script", and you also talk of "on the server side" - a Perl script is run on one computer.
If you're thinking of a script that runs on a webserver, and which is triggered by a client connecting, then you want gethostbyaddr, together with (I believe) $ENV{CLIENT_IP}.
If you're thinking of a script that many clients in your network run, then Sys::Hostname is what you want.
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re^2: Retrieving network information
by paranoid times (Acolyte) on Apr 04, 2006 at 07:07 UTC |