Beefy Boxes and Bandwidth Generously Provided by pair Networks
Pathologically Eclectic Rubbish Lister

Re^2: Unlimited chaining (is there a way to detect this?)

by Burak (Chaplain)
on Jan 06, 2008 at 20:38 UTC ( #660692=note: print w/replies, xml ) Need Help??

in reply to Re: Unlimited chaining (is there a way to detect this?)
in thread Unlimited chaining (is there a way to detect this?)

Yes can be. But this does not work if new() uses a scalar (which is what I did after realising that I don't really use the underlying hash):
sub new { bless \do{my $anon_scalar}, shift }

Replies are listed 'Best First'.
Re^3: Unlimited chaining (is there a way to detect this?)
by naikonta (Curate) on Jan 07, 2008 at 07:32 UTC
    Why not? No one forces you to store the flags (in this case) in the object itself.

    Open source softwares? Share and enjoy. Make profit from them if you can. Yet, share and enjoy!

Log In?

What's my password?
Create A New User
Node Status?
node history
Node Type: note [id://660692]
[marto]: obviously someone could be religious, but not creationist
[erix]: "Nothing in Intelligent Design makes sense except in the light of Creationism" <-- I made that one up myself (free after Dobzhansky )
[erix]: yes. Deplorable marto, deplorable.
[marto]: the situation seemed similar to this one, majority of the contributrions are nonsense, doesn't address any questions ...
[marto]: meh, I've been called worse :P
[marto]: deplorable is actually not bad for this point in the day :P
[erix]: we aim to satisfy
[erix]: churches are good excuses for large-scale architecture -- which is nice

How do I use this? | Other CB clients
Other Users?
Others cooling their heels in the Monastery: (11)
As of 2017-07-28 15:47 GMT
Find Nodes?
    Voting Booth?
    I came, I saw, I ...

    Results (431 votes). Check out past polls.