in reply to Dynamic package name (?!)
perlmod explains symbol tables. Without testing, I think %::{"sy::"}{$packagename . '::} should give you the symbol table, in which you can lookup the variable.
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re^2: Dynamic package name (?!)
by me_like_perl (Initiate) on Feb 07, 2011 at 15:15 UTC | |
by moritz (Cardinal) on Feb 07, 2011 at 15:24 UTC |