in reply to How to change referent of lexical reference?
If you insist on being able to use == for this, you could try turning $foo into an overloaded object whose == method checked that both sides freeze into the same string (with $Storable::Canonical set to a true value of course, and modulo what you need to do for the overload to operate).
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re: Re: How to change referent of lexical reference?
by autarch (Hermit) on Sep 22, 2003 at 03:27 UTC | |
by tilly (Archbishop) on Sep 22, 2003 at 04:41 UTC | |
by autarch (Hermit) on Sep 23, 2003 at 03:40 UTC | |
by tilly (Archbishop) on Sep 23, 2003 at 05:28 UTC |