How can I reverse XML special characters in Perl?

I process some XML files (specifically .vcproj files) in Perl, and I want unescape special characters. Runaway characters I've encountered so far:

  • "
  • 
  • 


Obviously, I can do it myself, but it seems that there must be a standard (or CPAN ) for this, but a naive search does not cause anything important.

Any ideas?

+7
xml perl escaping entity
source share
1 answer

XML::Entities or older HTML::Entities . I used only the latter.

Searching might be easier for you if you knew that these things are called entities; I hate it when I am in a position where I do not know the key information that would make the search possible.

+8
source share

All Articles