in reply to Katrina Parseing perl script

You're running out of memory because the file contains so much data. The data structure your XML module builds is too big for your machine. The solution is to use a XML parser that can handle stream mode and doesn't attempt to build the whole document.

XML::Twig would be a good one to try. Its pod has an example of working with a huge file.

After Compline,
Zaxo

Replies are listed 'Best First'.
Re^2: Katrina Parseing perl script
by Anonymous Monk on Sep 10, 2005 at 02:42 UTC
    Can you give me an example of the code above in xml::twig?