Lexicals (declared with my) can't be exported since they don't live in the symbol table. You need to declare it with our or use vars qw( %lists ), or fully qualify the name %Test::Parser::lists = ( ... ).
In reply to Re: First Time Creating a Package, Am I doing this Right?
by Fletch
in thread First Time Creating a Package, Am I doing this Right?
by Dru
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |