use strict; use warnings; use 5.010; use Coro; my @threads; for ( 1 .. 5 ) { push @threads, async { say "Hi!"; }; } for (@threads) { $_->join; }
In reply to Re: Coro threads
by zwon
in thread Coro threads
by Kirche
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |