in reply to Re^2: Changing array by changing $_?in thread Changing array by changing $_?
foreach (@species) { ( my $species = $_ ) =~ s/^-//; unless (exists $refspecies{$species}) { die "$species is not in the species table\n"; } } [download]