in reply to Count Using Split

Hi,

There's a typo: methinx $#tt s/b $#t...

HTH

A user level that continues to overstate my experience :-))

Replies are listed 'Best First'.
Re^2: Count Using Split
by de2425 (Sexton) on Sep 17, 2008 at 19:22 UTC

    Thanks for the response. I caught that one right after I posted it but it still doesn't yield a useful count. It is giving me "0-100000-10145". I'm thinking that the 145 might be the count that I'm looking for but I'm not sure why the other digits are printing out. Is this a result of too much formatting in the xml file?

      Show us the line of the input xml file that is giving you this result.

      As an alternate approach, have you considered using one of the CPAN modules, such as XML::Twig? XML is notoriously difficult to parse.