Thanks to point me to the usage of $active in the constructor! By passing it as a reference, it is the scalar I access while dereferencing $self.
Now, as understand whats going on, I will try to use this approach in my implementation, and see wether there will be a notable performance improvement. :-)
In reply to Re^2: Why does $$self++ work?
by rob25
in thread Why does $$self++ works?
by rob25
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |