in reply to Handling very big gz.Z files
Presumably you can look at the contents of the compressed file ok?
I mean that something like
gunzip -c bnc.xml.gz.Z | more
gives you what you are expecting to see as the input data?
In Section
Seekers of Perl Wisdom