Reputation: 497
I am using this little line which is quite useful for parsing some data in HTML format, specifically for converting the HTML "special characters" into "real characters":
perl -MHTML::Entities -pe 'decode_entities(-s);' <tmp1 >tmp2
It used to work just fine, however now it's telling me
Modification of a read-only value attempted at -e line 1, <> line 1.
Can you help me find out why? Am I missing a library?
Upvotes: 1
Views: 64