On 01/02/13 09:21, Nicholas Clark wrote:
On Thu, Jan 31, 2013 at 11:12:30AM +, David Cantrell wrote:
I am most disappointed to find that if you put a blessed sub-ref in the
symbol table and then replace it, its DESTROY method doesn't get called
straight away:
package Immortal;
sub new { re
On Thu, Jan 31, 2013 at 11:12:30AM +, David Cantrell wrote:
> I am most disappointed to find that if you put a blessed sub-ref in the
> symbol table and then replace it, its DESTROY method doesn't get called
> straight away:
>
> package Immortal;
>
> sub new { return bless sub { print "called
On Thu, Jan 31, 2013 at 11:12:30AM +, David Cantrell wrote:
> I am most disappointed to find that if you put a blessed sub-ref in the
> symbol table and then replace it, its DESTROY method doesn't get called
> straight away:
>
> package Immortal;
>
> sub new { return bless sub { print "called
On 31/01/13 11:12, David Cantrell wrote:
I am most disappointed to find that if you put a blessed sub-ref in the
symbol table and then replace it, its DESTROY method doesn't get called
straight away:
package Immortal;
sub new { return bless sub { print "called the object\n" }, shift; }
sub DEST
I am most disappointed to find that if you put a blessed sub-ref in the
symbol table and then replace it, its DESTROY method doesn't get called
straight away:
package Immortal;
sub new { return bless sub { print "called the object\n" }, shift; }
sub DESTROY { print "called DESTROY\n"; }
1;
$ per