On Fri, 10 Aug 2001, Tyler Longren wrote:
> I try to show the number of elements in the array like so:
> print "$#scans";
That actually gives the index of the last element, not the actual count
of elements. You want:
print scalar(@scans);
> But that prints "-1". I know for a fact there are at least 2 entries in
> LOGFILE that have an IP of 192.168.1.1.
Did you dump the array to see if they are actually in there?
-- Brett
http://www.chapelperilous.net/btfwk/
------------------------------------------------------------------------
Your conscience never stops you from doing anything. It just stops you
from enjoying it.
--
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]