The snippet in the root node doesn't look wrong, so the problem could be somewhere else. For example are you sure that the new method actually returns $self, and that it's being called?
You could just add the line warn $self->{binDir}; after the assignment, and see if it produces what you expect it to.
Then you can move it around in your code to trace the point where it seems to "magically disappear".
In reply to Re^3: Question on OO Perl
by moritz
in thread Question on OO Perl
by gokuraku
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |