in reply to Re: Retrieving data from multidimensional hashes
in thread Retrieving data from multidimensional hashes

ok, maybe it has been too long since I last wrote code ;) Whats the "my" all about in front of the variables on those lines? Is it just to say "this is a variable name"?
  • Comment on Re^2: Retrieving data from multidimensional hashes

Replies are listed 'Best First'.
Re^3: Retrieving data from multidimensional hashes
by ikegami (Patriarch) on Aug 11, 2008 at 19:40 UTC

    It's a scoping mechanism and a typo avoidance mechanism.

    Make sure to use use strict; in your programs and modules.