Hi
Thanks - I guess that answers the question on changing the behaviour of the module without changing the module, but having said that this particular code did not bring about the desired behaviour. That's still the piece I can't figure out what's happening? The hash in the module:
%entity2char
Contains the following key value pairs that seem to govern this behaviour.
frac14 => chr(188),
frac12 => chr(189),
frac34 => chr(190),
Presumably
chr(188) and its brethren are taken straight from the HTML, then fracNN to which it is mapped is somehow translated to display as the tiny one character wide fraction symbol.
But stating:
# switch package
package HTML::Entities;
$entity2char{frac14} = '.25';
$entity2char{frac12} = '.5';
$entity2char{frac34} = '.75';
# switch back to your package
package main;
# go on with your code
Does not seem to change that behaviour?