in reply to Re: No data received on client socket
in thread No data received on client socket
eval sets $@ when it catches an exception, yet you check $! in the first snippet.
In the second snippet, you're relying on $! being false when there has been no error, but $!'s value is undefined (which is not to say that $! is undef) in that circumstance.
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re^3: No data received on client socket
by caelifer (Scribe) on Sep 20, 2006 at 13:29 UTC | |
by ikegami (Patriarch) on Sep 20, 2006 at 15:14 UTC | |
by caelifer (Scribe) on Sep 20, 2006 at 20:20 UTC | |
by ikegami (Patriarch) on Sep 20, 2006 at 20:33 UTC | |
by caelifer (Scribe) on Sep 21, 2006 at 17:43 UTC |