The least intrusive change to your program to get it working is this:
foreach $i (@f) { @n = grep {$_ % $i != 0 || $_ == $i } @n; }
In reply to Re: What am I missing?
by moritz
in thread What am I missing?
by neo_
For: | Use: | ||
& | & | ||
< | < | ||
> | > | ||
[ | [ | ||
] | ] |