in reply to How do I access an array in a Module?
Since your variable is declared with my @EXTHDS, it's only visible until the end of the current file (or block or eval). This means that the Exporter module can't see it, which means that it can't export it.
If you declare your array with our @EXTHDS then it becomes a package variable, which Exporter can see, and the rest of your code should work fine.
All the best,
|
|---|