develooper Front page | perl.perl5.porters | Postings from October 2014

Re: Windows help request

Thread Previous | Thread Next
Father Chrysostomos
October 25, 2014 01:07
Re: Windows help request
Message ID:
Daniel Dragan wrote:
> ********************Why this implemented in an XSUB and not in sv_clear? 

Good point.  All IO things are blessed into IO::Handle by default, so
it seemed like a logical place to put it when I wrote the initial ver-
sion of the patch a year ago.

> *******************so what is an IO::Handle object? why are there 2 
> different internals to it?????*********************

Because IO::Handle->new returns a blessed typeglob, if I remember

But using sv_clear does make the code much cleaner, so thank you for
asking the obvious questions that I didn't see. :-)

I have pushed a new smoke-me/destroio branch.

Thread Previous | Thread Next Perl Programming lists via nntp and http.
Comments to Ask Bjørn Hansen at | Group listing | About