in reply to function ref

$something->set_call_back(sub { $this->func(@_) });
presuming $this is a lexical variable so that it'll be closure'd properly.

-- Randal L. Schwartz, Perl hacker