I think the leading underscore is necessary--best not to second guess the documents when you're having problems--and it seems to do it in place so you have to check the variable, not the return from the function.
perl -MHTML::Entities -le '$s = "ÖH & HAÌ"; _decode_en +tities($s, { amp => "&" }, 0); print $s' -- ÖH & HAÌ
In reply to Re: Help with HTML::Entities - decode_entities
by Your Mother
in thread Help with HTML::Entities - decode_entities
by punch_card_don
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |