in reply to parse XML huge file using cpan modules

I am confused. I first assumed that the data you show is a 60-sec sample extracted from a 24-hr file. However, the length of this file times 60 minutes times 24 hours is not even close to the 82Mb which you specify. The expected output that your posted appears to be a header line and a summary of the data sample given. The first problem that I see is that much of that data is not available in the hash that you posted.
Bill
  • Comment on Re: parse XML huge file using cpan modules

Replies are listed 'Best First'.
Re^2: parse XML huge file using cpan modules
by nicopelle (Acolyte) on Jul 28, 2019 at 17:27 UTC
    Thanks for your time Bill. As explained above, the Poj's solution is really fine and works flawless.
      I understand that poj showed you how to parse the file. You still have the discrepancy in the file size. Are you sure that this is not a symptom of another problem?
      Bill
        There is no discrepancy. Note the dots "..." in the example, indicating "more of the same".


        holli

        You can lead your users to water, but alas, you cannot drown them.
        Hi Bill, above there is only an extract of the file of course.
        For sure: file is truncated every day (by crontab) and it's size is (byte more, byte less) 82Mb