How do ya do it if it's ... from $object? I tried this:$something->set_call_back( \&localfunction );
I'll keep pluggin, but I bet it's really obvious...$something->set_call_back( \$this->func ); # or $something->set_call_back( \&{ $this->func }); # and $something->set_call_back( \( $this->func ) );
In reply to function ref by jettero
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |