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

Re: Windows help request

Thread Previous | Thread Next
From:
Father Chrysostomos
Date:
October 25, 2014 01:07
Subject:
Re: Windows help request
Message ID:
20141025010748.32476.qmail@lists-nntp.develooper.com
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
correctly.

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


nntp.perl.org: Perl Programming lists via nntp and http.
Comments to Ask Bjørn Hansen at ask@perl.org | Group listing | About