Well this is annoying. In my original code that I cut down to a "minimal case", I had the assignment to @EXPORT, effectively, in a BEGIN. with another function (and w/different names). I.e.:
use mem(@EXPORT=qw(@xmission_flds TorFldN));
#...
sub TorFldN(;$) { #...
}
References to the function worked as expected, but not the array. FWIW, substituting in
use mem(...) also makes the error go away in the reduced-test case, but since that's what was in the original that's not the problem in the original. I'll have to try minimizing it again, but it's more than a bit of a pain as the original is 823 lines long. While I have no problem posting a sanitized version of the original, it references several modules not on CPAN, as well as just being long.
I'll have to go back to original and try cutting it down again...sigh... unfortunately, this is the problem in "cutting things down" -- I ended up cutting away so much that the original problem goes away and I don't even notice it...
*sigh*.
-l
Posts are HTML formatted. Put <p> </p> tags around your paragraphs. Put <code> </code> tags around your code and data!
Titles consisting of a single word are discouraged, and in most cases are disallowed outright.
Read Where should I post X? if you're not absolutely sure you're posting in the right place.
Please read these before you post! —
Posts may use any of the Perl Monks Approved HTML tags:
- a, abbr, b, big, blockquote, br, caption, center, col, colgroup, dd, del, details, div, dl, dt, em, font, h1, h2, h3, h4, h5, h6, hr, i, ins, li, ol, p, pre, readmore, small, span, spoiler, strike, strong, sub, summary, sup, table, tbody, td, tfoot, th, thead, tr, tt, u, ul, wbr
You may need to use entities for some characters, as follows. (Exception: Within code tags, you can put the characters literally.)
| |
For: |
|
Use: |
| & | | & |
| < | | < |
| > | | > |
| [ | | [ |
| ] | | ] |
Link using PerlMonks shortcuts! What shortcuts can I use for linking?
See Writeup Formatting Tips and other pages linked from there for more info.