in reply to OO Callback Function Reference

Try closures:

Start => sub { $this->sh },

The effect of this is that the current value of $this (the object instance) is being bound to the anonymous sub.

Replies are listed 'Best First'.
Re^2: OO Callback Function Reference
by Anonymous Monk on Feb 04, 2010 at 20:21 UTC
    Though, if your callbacks expect to be passed arguments (which they usually do), then you need to pass those args through to the method call as well. Like so:
    Start => sub { $this->sh(@_) },