Perl Monk, Perl Meditation | |
PerlMonks |
Re: Grab Current Line of SVG Fileby haukex (Archbishop) |
on Apr 17, 2019 at 21:23 UTC ( [id://1232733]=note: print w/replies, xml ) | Need Help?? |
Could you show a short but representative input file and the output you expect for that input? In general, I would very strongly recommend you don't parse XML with regexes, it's extremely brittle. I recommend a proper XML parser such as XML::LibXML, it will make you much happier in the long run.
In Section
Seekers of Perl Wisdom
|
|