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.

  • Comment on Re: What happened to my globally declared hash when moved to OO Perl code?
  • Download Code

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
    Oh ... thanks. I guess I need to get some glasses. (or a monocle since I only have one eye).