http://www.perlmonks.org?node_id=935329


in reply to Re^2: How to get paired values from the nested XML structure?
in thread How to get paired values from the nested XML structure?

If the file is huge you can process it in parts. In this case and with XML::Rules it would mean that the rule for <unit> would be a subroutine that inserts the data of the unit to database and then returns nothing. That way you do not keep the already processed data in memory.

Another good module for processing huge XML files is XML::Twig.

Jenda
Enoch was right!
Enjoy the last years of Rome.