in reply to Exporting a Dispatch Table
You can export $typecolors like any other variable and use the referenced subs anywhere it lands. Use Exporter for this.
I wonder, though, if you're asking about getting a dispatch table from a module that doesn't already export it. Since $typecolors is a lexical variable, this won't be possible. You'll have to get the module that owns the variable to hand it over to you.
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re^2: Exporting a Dispatch Table
by ikegami (Patriarch) on Apr 09, 2008 at 01:52 UTC |