sub new { my $class = shift; my $self = { name => shift, ipAddress => shift, port => shift, stuff => new MyPackage::MyStuff(), }; my @paramters = ($self); my $thread = new Thread \&processJobs, \@paramters; bless $self, $class; return $self; } sub processJobs { my $self = shift; } #### Pseudo-hashes are deprecated at line 43. thread failed to start: Bad index while coercing array into hash at line 43.