On Fri, Jan 8, 2010 at 2:57 PM, Nele Kosog <k...@sevencs.com> wrote: > it fails saying that it "Can't call method > "my_var" without a package or object reference" at a line where I try to > use the accessor methods. > > Here is a simplified example:
I'd say you simplified it a bit too much, because it works for me here (after correcting an obvious typo) my_var => $parameter{value}; # semicolon should be a comma BTW, the error message you got simply means: $var1 wasn't a blessed reference, but rather a simpe scalar, e.g. 1->fubar would elicit the same message. Cheers, Roderich