in reply to Accessing variables in a runtime-loaded module
Given that you have the package name inside a variable, things get a little messy. I couldn't find a way to do it without "eval":
print eval("\$${module_name}::description"), "\n";
|
---|
Replies are listed 'Best First'. | |
---|---|
Re^2: Accessing variables in a runtime-loaded module
by srd (Initiate) on Jun 09, 2005 at 13:39 UTC |