in reply to Re: Finding out if a scalar exists in a typeglob
in thread Finding out if a scalar exists in a typeglob

Thanks for trying.

Like merlyn says, it's a space optimisation. As a scalar takes as much room as a reference to it would, each typeglob comes with a free scalar. Which is good most of the time, but a little frustrating here :(

Your fix will, at least, get me a bit closer and will presumably remove things like STDOUT from the list.

--
<http://www.dave.org.uk>

"Perl makes the fun jobs fun
and the boring jobs bearable" - me

  • Comment on RE: Re: Finding out if a scalar exists in a typeglob