in reply to XML::LibXML::Reader get size
my $count = 0; ++$count while $reader->nextPatternMatch($entry_pattern);
The problem is that once the loop is finished, you're at the end of the document, so you have to reinstantiate the reader object.
($q=q:Sq=~/;[c](.)(.)/;chr(-||-|5+lengthSq)`"S|oS2"`map{chr |+ord }map{substrSq`S_+|`|}3E|-|`7**2-3:)=~y+S|`+$1,++print+eval$q,q,a,
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re^2: XML::LibXML::Reader get size
by Anonymous Monk on Apr 27, 2018 at 17:09 UTC | |
|
Re^2: XML::LibXML::Reader get size
by Anonymous Monk on Apr 27, 2018 at 13:08 UTC |