Doing a search on https://metacpan.org/ for "xml stream", found these two modules that might help you out: XML::Stream and XML::Atom::Stream. Perhaps one of those modules might work better for what you're trying to do or might help you figure out how handle/parse streaming XML data.
In reply to Re: XML Parsing from URL
by dasgar
in thread SOLVED: XML Parsing from URL
by jshank
For: | Use: | ||
& | & | ||
< | < | ||
> | > | ||
[ | [ | ||
] | ] |