- or download this
my @paramters = ($self);
my $thread = new Thread \&processJobs, \@paramters;
- or download this
sub processJobs
{
my $self = shift;
}
- or download this
my $thread = new Thread \&processJobs, $self;
and in process jobs use like this
...
{
my $self = $_[0];
}