in reply to Quick decode_entities Question

Personally, I get

Undefined subroutine &main::decode_entities called at -e line 2.

Adding use HTML::Entities; provides the missing decode_entities, but you must be using something else if you're having the problem you describe.