http://qs321.pair.com?node_id=673910

threedaygoaty has asked for the wisdom of the Perl Monks concerning the following question:

Hi folks, we have suffered greatly at the hands of utf8 converting a very large application to ut8dom. It seems that we are concatenating UTF8 and non-UTF8 strings and ending up in trouble. So why not globally overload the concat operator with something that checks for is_valid before doing the concat? Just for debugging? Can it be done in Perl?
Cheers,
TDG