On Tue, 19 Aug 2003, Bennett Todd wrote:

> Is the destruction going to be timely enough for
> 
>         IO::File->new(">foo")->print("foo\n");
>         print `cat foo`;
> 
> to behave predictably?

If you're asking if you can, in general, count on statement level timely
destruction of arbitrary objects, not by default, no. If you're asking 
about this particular case, talk to Arthur, as it's perl 5. If you're 
asking about the equivalent perl 6 version, then it depends on the default 
impatience for IO::File handles. (Though I plan on having them *not* be 
flagged as needing timely destruction. Larry may overrule, in which case 
we'll fight over it)

                                        Dan

Reply via email to