ASPN ActiveState Programmer Network
ActiveState
/ Home / Perl / PHP / Python / Tcl / XSLT /
/ Safari / My ASPN /
Cookbooks | Documentation | Mailing Lists | Modules | News Feeds | Products | User Groups


Recent Messages
List Archives
About the List
List Leaders
Subscription Options

View Subscriptions
Help

View by Topic
ActiveState
.NET Framework
Open Source
Perl
PHP
Python
Tcl
Web Services
XML & XSLT

View by Category
Database
General
SOAP
System Administration
Tools
User Interfaces
Web Programming
XML Programming


MyASPN >> Mail Archive >> perl6-internals
perl6-internals
Re: What the heck is: timely destruction
by Dan Sugalski other posts by this author
Aug 19 2003 12:43PM messages near this date
Re: What the heck is: timely destruction | [perl #23368] [PATCH] make P6C use CPS
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



Privacy Policy | Email Opt-out | Feedback | Syndication
© ActiveState Software Inc. All rights reserved