-----Original Message----- From: Chris Knipe
my @array = (1..10);
foreach my $number (@array) {
  next if $number == 5;
  print $number;
}

I can't reproduce the problem.
Works as expected for me, and outputs:
1234678910

Cheers,
Rob

--
To unsubscribe, e-mail: beginners-unsubscr...@perl.org
For additional commands, e-mail: beginners-h...@perl.org
http://learn.perl.org/


Reply via email to