Hello Monks,
This is a silly question but I need help understanding a construct in perl.
While looking at sample code that checks $! for a specific errno, I came across this syntax:
if ($!{EINTR}) { }
This is equivalent to writing:
if ($! == EINTR) { }
My question is I can't find any reference in the perl docs that explains why this works. $! seems to be special somehow. Can anyone point me to where this is documented?
Thanks.