FWIW, fileno returns -1 for handles pointing to scalar refs, though this behavior appears to be undocumented; at least the docs for fileno are noncommittal on the subject.
the lowliest monk
In reply to Re: There be dragons (or, perl5.8's open stringref breaks...)
by tlm
in thread There be dragons (or, perl5.8's open stringref breaks...)
by Tanktalus
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |