#Perl6 to print all #primenumbers: for 0..Inf -> $n { $n.say if $n.is-prime } # Using implicit variable: for 0..Inf { .say if .is-prime }
0
0
0
0
0