in reply to What happened to my globally declared hash when moved to OO Perl code?
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.
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re^2: What happened to my globally declared hash when moved to OO Perl code?
by Plankton (Vicar) on Mar 04, 2008 at 18:41 UTC |