![]() |
|
Your skill will accomplish what the force of many cannot |
|
PerlMonks |
Counting matches and removing duplicatesby LexPl (Sexton) |
on Nov 15, 2024 at 12:30 UTC ( [id://11162712]=perlquestion: print w/replies, xml ) | Need Help?? |
LexPl has asked for the wisdom of the Perl Monks concerning the following question: I have written a script that extracts all XML entities from a file using a regex (&[^;]+;). The output has a header (just plain text) and several thousand matching strings/XML entities with one occurrence per line: List of entities in 'input.xml': I would like to modify the output so that
So a sample output could like this:
Back to
Seekers of Perl Wisdom
|
|