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?
|Replies are listed 'Best First'.|
Re^3: Distinguishing a filehandle for an in-memory string
by ikegami (Pope) on May 19, 2018 at 01:10 UTC