in reply to Re^2: frac12 to decimal
in thread frac12 to decimal

from HTML/Entity.pm:

# Make the opposite mapping while (my($entity, $char) = each(%entity2char)) { $entity =~ s/;\z//; $char2entity{$char} = "&$entity;"; }

so try: change %char2entity as well

package HTML::Entities; $char2entity{'.25'} = '¼'; $char2entity{'.5'} = '½'; $char2entity{'.75'} = '¾'; package main; ...

or post some code to look at.