in reply to Re: De-Overload reference?
in thread De-Overload reference?
But is there a reason why you make %attr a package-var? I'd rather use a lexical closure var my %attr
FWIW: Using a scalar-ref as object is clever, but in this case I'm overloading all deref-operators, hence we are back to the original problem.
Cheers Rolf
(addicted to the Perl Programming Language :)
see Wikisyntax for the Monastery
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re^3: De-Overload reference?
by NERDVANA (Priest) on Apr 18, 2024 at 02:47 UTC |