in reply to Re: Threads Calling Subroutine from different PM File
in thread Threads Calling Subroutine from different PM File
and I want to call SubRoutine from $class.$class = MyModule::MySubModule;
This is giving error for wrong syntax.my $Thread = threads->new( \&$class::SubRoutine, $arg1, $arg2 );
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re^3: Threads Calling Subroutine from different PM File
by BrowserUk (Patriarch) on Nov 26, 2012 at 18:23 UTC |