![]() |
|
Think about Loose Coupling | |
PerlMonks |
Re^5: XMLin questionby bart (Canon) |
on Feb 15, 2013 at 22:25 UTC ( [id://1018986]=note: print w/replies, xml ) | Need Help?? |
I'm not surprised. \K was added in perl 5.10 but with -e perl won't use any features that are so "recent". Try "-E" instead, at least, if you have perl 5.10 or later.
But, I don't think it will work, anyway. /([><])([^\w])/ would fix every "</" in your XML, and that just isn't right.
In Section
Seekers of Perl Wisdom
|
|