in reply to Is "states" a reserved hash name??

There are no reserved hash names (except for upper-cased hashes that Perl uses internally). You probably have a typo somewhere. If you have strict and warnings enabled, your error log should give you a warning message; see perldoc perldiag for help in diagnosing it.

Otherwise, post the minimal amount of code that demonstrates the problem and someone here can point out the typo.

Replies are listed 'Best First'.
Re^2: Is "states" a reserved hash name??
by punch_card_don (Curate) on Mar 10, 2007 at 22:28 UTC
    OK, that's all I needed to know before speinding the time to find a typo somewhere.....

    Thanks.




    Forget that fear of gravity,
    Get a little savagery in your life.

      Not only that, but you can test your program for compilability at the command line, without actually running it, using perl -c.

      *Yes, technically, it's not quite this simple. But this oversimplification is useful in many cases, especially when just starting out.

      A word spoken in Mind will reach its own level, in the objective world, by its own weight
      Can you post your code? :-)