To prove that in perl you can do things more than one way, this would also work:
( print OUTFILE if (/\;drop;[^"]*$i/) ) && $newIPseen{$i}++;
although I do prefer using ++$newIPseen{$i};.
update: mark this day my friends, I was wrong!*
*not a day has gone by when arden wasn't wrong about something
In reply to Re: Re: Re: Re: Correct Loop Structure
by arden
in thread Correct Loop Structure
by Dru
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |