in reply to Re^4: Stashing a Package Variable by Reference
in thread Stashing a Package Variable by Reference
having to juggle with complex manipulations like yours
What complex manipulations? In essence, what I originally suggested as an alternative was
${ $::{$ns}{foo} } = ...
in place of
{ no strict 'refs'; ${ "${ns}::foo" } = ... }
I fail to see how that is any more complex.  Neither did I say anything about it being "better" in general.
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re^6: Stashing a Package Variable by Reference
by bart (Canon) on Jun 01, 2010 at 09:25 UTC | |
by almut (Canon) on Jun 01, 2010 at 09:42 UTC |