Then it isn't a typeglob assignment, and no magic is lost. This is the same code as yours, using errno 111 instead of 1:
$ perl -e'$! = 111; print "$!\n"' Connection refused
Either you were fooled by the "Operation not permitted" error (which is unlikely since it isn't a Perl error according to perldiag), or I still don't get your point.
--
David Serrano
In reply to Re^4: eval segfaults when $@ isn't writable
by Hue-Bond
in thread eval segfaults when $@ isn't writable
by Hue-Bond
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |