tadman has asked for the wisdom of the Perl Monks concerning the following question:
Inside of IO::Socket.pm, there is some rather unruly looking
Perl in the connect() routine. In particular $! is used
as a hash, implying that there is something called %!,
which in fact seems to exist (according to 'perl -w' anyway).
if ($timeout && $!{EINPROGRESS}) { # ...
It's bizarre enough that $! behaves differently in a
string context versus a numeric one, but now it has some
sort of hidden "hash" context?
|
---|
Replies are listed 'Best First'. | |
---|---|
Re: $! or &Errno or $!{}
by Albannach (Monsignor) on Mar 20, 2001 at 22:21 UTC | |
Re: $! or &Errno or $!{}
by jlawrenc (Scribe) on Mar 21, 2001 at 01:49 UTC | |
Re: $! or &Errno or $!{}
by chipmunk (Parson) on Mar 21, 2001 at 00:32 UTC |
Back to
Seekers of Perl Wisdom