Beefy Boxes and Bandwidth Generously Provided by pair Networks
Think about Loose Coupling

Re: On timely destruction?

by Juerd (Abbot)
on Aug 28, 2002 at 07:42 UTC ( #193379=note: print w/ replies, xml ) Need Help??

in reply to On timely destruction?

Apo 4 describes my $foo is post { close } = open 'bar.txt';, so that's no problem. I wonder what would happen on push our @foos, $foo, though. Are properties connected to variables or to their values?

- Yes, I reinvent wheels.
- Spam: Visit eurotraQ.

Comment on Re: On timely destruction?
Select or Download Code
Replies are listed 'Best First'.
Re: Re: On timely destruction?
by theorbtwo (Prior) on Aug 28, 2002 at 07:59 UTC

    They can be attached to either. That purticular prop is on the variable, since it's attached to the my. If you wanted it to be on the value, you should have written my $foo = (open 'bar.txt') is post {close}. If I understand and remember Apoc4 correctly, which I might not.

    Confession: It does an Immortal Body good.

Re: Re: On timely destruction?
by John M. Dlugosz (Monsignor) on Aug 28, 2002 at 16:39 UTC
    Now if I didn't have to put is post {close} in every open but could have that implicit, that would be better. Except when I use closures...  is post { close if .dead } maybe, where an object can test if it has no (other) references, and registered that it needs to be counted.

Log In?

What's my password?
Create A New User
Node Status?
node history
Node Type: note [id://193379]
and the web crawler heard nothing...

How do I use this? | Other CB clients
Other Users?
Others examining the Monastery: (6)
As of 2015-11-26 23:25 GMT
Find Nodes?
    Voting Booth?

    What would be the most significant thing to happen if a rope (or wire) tied the Earth and the Moon together?

    Results (709 votes), past polls