in reply to Obtain original file line number for an XML element in XML::Twig

It is possible, and it is actually a FAQ: For logging purposes I would like XML::Twig to report line/column number in the original file.

  • Comment on Re: Obtain original file line number for an XML element in XML::Twig

Replies are listed 'Best First'.
Re^2: Obtain original file line number for an XML element in XML::Twig
by GrandFather (Saint) on Apr 04, 2006 at 11:15 UTC

    Thanks for that. I'd realised that parse time processing of that sort would do the trick, but being lazy (it's a virtue you know), hoped the someone had done the work already. :)


    DWIM is Perl's answer to Gödel
      Being lazy is a virtue if you check the FAQ