anshumangoyal has asked for the wisdom of the Perl Monks concerning the following question:
How should I call my subroutine here:use strict; use MyModule.pm use threads; # There is a sub-routine Execute() in MyModule.pm my $arg1 = "argument1"; my $arg2 = "argument2"; my $thr = threads->new(??????, $arg1, $arg2);
using threads.MyModule::Execute($arg1, $arg2)
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re: Threads Calling Subroutine from different PM File
by BrowserUk (Patriarch) on Nov 26, 2012 at 11:55 UTC | |
by anshumangoyal (Scribe) on Nov 26, 2012 at 18:02 UTC | |
by BrowserUk (Patriarch) on Nov 26, 2012 at 18:23 UTC | |
|
Re: Threads Calling Subroutine from different PM File
by Anonymous Monk on Nov 26, 2012 at 17:16 UTC | |
by BrowserUk (Patriarch) on Nov 26, 2012 at 17:46 UTC | |
by Anonymous Monk on Nov 26, 2012 at 17:51 UTC | |
by BrowserUk (Patriarch) on Nov 26, 2012 at 18:24 UTC |