Is there an et cetera type command in perl? Specifically, what I want to do
is to go from

while (1) {
    my $num = shift @numarray;
    if ($num % 2==0) {

and if the modulus of 2 is 0, find the modulus of 3 and so on. Can anyone
give me some suggestions?

Thanks,

Joel

-- 
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
<http://learn.perl.org/> <http://learn.perl.org/first-response>


Reply via email to