Request for help
guestXX (guest@doe.ernet.in)
Wed, 24 Jul 1996 10:02:35 +0530 (GMT+05:30)
Hello! We have just started up on perl & are stuck up. The problem
seems to be simple, but we have not been able to resolve it. We are
reading a log file, comprising of a few hundred lines of data in a uniform
format. We have been able to parse it into it's various components, but
are not being able to store it into arrays. the arrays(of scalars) are
such that there is a separate array for each component (eg. date, time,
IP address etc.), and each of the arrays extending upto the number if
lines in the log file. We are using a while loop to read one line at a
time, which it does, but does not store the values in the arrays. The
crux of the problem lies in the fact that we do not know how to preextend
the arrays which are going to get big. Please advise. We are at the fag
end of our summer training and extremely hard pressed for time. We will
be ever so thankful for an immediate response.
THANKS A TON.
P.S. We are eagerly waiting for your reply.