Monks,
This is probably a question resulting from a java-based
intro to oo design. I'm still working on the conversion to
perl, so please bear with me :)
Let's say there's code currently executing inside of a
private method in an instance of the Monkey class. I would
like this code to be able to access some instance fields,
but do not want to keep passing $self around from private
method to private method.
My (limited) understanding of perl tells this would be a
job for accessing the symbol table for this instance. I
could not find anything like this in the camel book (the
closest thing used a non-oo example w/ the %main:: symbol
table), so chances are I'm looking in the wrong places or
for the wrong thing.
Any help would be greatly appreciated.
Mark