in reply to Thread::new causes Undefined subroutine &threads::new

Try
#!/usr/bin/perl use strict; use warnings; use threads; my $t = threads->create(sub { print("Hello! I am a thread\n"); })->joi +n();
The method threads->new() is simply an alias for threads->create() so feel free to change that.

If in doubt check the documentation.

Hope this helps.

Martin