Keep It Simple, Stupid | |
PerlMonks |
Perl6 Threadsby Anonymous Monk |
on May 04, 2016 at 17:03 UTC ( [id://1162208]=perlquestion: print w/replies, xml ) | Need Help?? |
Anonymous Monk has asked for the wisdom of the Perl Monks concerning the following question:
I saved "my $thread = Thread.start({ for 1 .. 10 -> $v { say $v }});" from https://docs.perl6.org/language/concurrency#Threads into a file and ran "perl6 file.pl" but get error "Undeclared name: Thread used ..." Any ideas how to fix the problem? (The document doesn't mention using any packages.)
Back to
Seekers of Perl Wisdom
|
|