in reply to Re: How can I unbless an object?
in thread How can I unbless an object?
I don't know if "curse" is really the right term for the case I'm thinking of (where you don't want to change the ref itself, you just wan a new ref to the same object with a different type ... which strikes me as being almost like a "cast" method...
my $foo = new Foo; my $hash = cast 'HASH', $foo; print ref $hash; # 'HASH'
|
---|
Replies are listed 'Best First'. | |
---|---|
•Re: Re: Re: How can I unbless an object?
by merlyn (Sage) on Jul 19, 2002 at 18:15 UTC | |
Re^3: How can I unbless an object?
by ml340k (Novice) on Aug 16, 2017 at 15:25 UTC |