in reply to calling anonymous objects by their names
Refer to "Class Data" in perltoot. You can store you %nodelist in the class (Not individual objects). Your object "new" method adds an object reference by doing:
Your "connect" method can then easily access a named object and do something like:$nodelist{$NewObjectName}=$self;
$self->{LEFT_LINK} = $nodelist{$NameOfLinkedNode};
|
|---|