in reply to Re^2: Run only if it the request is originating from a specific machine
in thread Run only if it the request is originating from a specific machine
Request implies a server, and if it comes from another machine, it implies a socket. That's why I mentioned it.
In fact, there is a socket involved, but it's not connected to STDOUT according to a test.
$ ssh localhost 'perl -E'\''say getpeername(\*STDOUT) || die $!'\''' Socket operation on non-socket at -e line 1.
Sorry, I don't know the solution to your problem.
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re^4: Run only if it the request is originating from a specific machine
by calsaint (Initiate) on Aug 25, 2011 at 22:14 UTC |