In your OO module, you're using curlies {} instead of parentheses () to define your %T2Map hash. Curlies are used to define a hash reference -- see perlreftut.
In reply to Re: What happened to my globally declared hash when moved to OO Perl code?
by friedo
in thread What happened to my globally declared hash when moved to OO Perl code?
by Plankton
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |