in reply to Accessing module variables
It would be faster but not necessarily clearer.
Another approach without eval is using symbolic refs, you need to locally no strict 'refs'; for that.
Cheers Rolf
(addicted to the Perl Programming Language and ☆☆☆☆ :)
Wikisyntax for the Monastery
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re^2: Accessing module variables
by LanX (Saint) on Apr 19, 2018 at 17:07 UTC |