in reply to Re: hash assignment
in thread hash assignment

Oops. I apologize for the waste of your time.
Rohit Raghunathan

Replies are listed 'Best First'.
Re^3: hash assignment
by ww (Archbishop) on Jul 25, 2012 at 12:06 UTC
    Not a "waste" but an opportunity to learn:
    1. use warnings; as well as strict;
    2. Check compilation before throwing up your hands in dismay. That is, at your command prompt, execute perl -c filename

    The two, together, will reveal problems such as this.