I'm doing this so a user can enter a command and the object will call the method. I just want a reference to put in the hash, right? Here is the page I was on in case you are wondering: here BTW: The way I do it doesn't work, the arrow operator dereferences the method I think.my $action = { 'dosomething' => $object->something };
In reply to How do I create a reference to an object method? by skrapasor
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |