The stupid question is the question not asked | |
PerlMonks |
Re^2: Distinguishing a filehandle for an in-memory stringby jrw (Monk) |
on May 18, 2018 at 11:36 UTC ( [id://1214838]=note: print w/replies, xml ) | Need Help?? |
I noticed this, but I saw somewhere in a comment or in some piece of documentation that it says something like "currently returns -1", which made me think that that is not a reliable way to check. But maybe it's as reliable as checking for "scalar" in the list of IO layers?
In Section
Seekers of Perl Wisdom
|
|