You can't take a reference to a method call. But you could try this:
my $th = new Thread( sub { $p->run } ); # Line: 88
In reply to Re: How to pass a module method by reference to Thread?
by grantm
in thread How to pass a module method by reference to Thread?
by thai
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |