What's "self" to you is isync to me. If the menu needs access to the top window, it should have a $top_window. The fact that within the methods of the top window the same reference will be in a variable called $self is irrelevant. To the method within the menu it's $top_window, not $self.
<!-- Node text goes above. Div tags should contain sig only -- >Jenda
Enoch was right!
Enjoy the last years of Rome.
In reply to Re^3: Advice please on variable naming style in modules
by Jenda
in thread Advice please on variable naming style in modules
by isync
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |