dntel
02-15-2011, 08:59 AM
Hey Guys,
@cellNumbers = ('111', '222', '333');
foreach (@cellNumbers) {
count +1 $_;
}
Is that the correct loop to use for running through a file and for each of 111 or 222 to add a value and leep counting until it reaches the end?
@cellNumbers = ('111', '222', '333');
foreach (@cellNumbers) {
count +1 $_;
}
Is that the correct loop to use for running through a file and for each of 111 or 222 to add a value and leep counting until it reaches the end?