I want to use simple Unicode case mapping and not the default full case mapping. The entry in http://perldoc.perl.org/perlunicode.html#User-Defined-Case-Mappings looked to be the way to go.
However a small test program#!/usr/bin/perl use strict; sub ToUpper { return<<END; 0061\t0063\t0044 END print "Here we are\n"; } my $tim = "abcdef"; my $t2 = uc($tim); print "$t2\n";
does not give the expected result, just the normal uc output. The print statement is not executed so ToUpper is not even called.
What am I doing wrong? If anyone already has simple case mapping already implemented then that would be nice also.
In reply to User-Defined Case Mappings by timgreenwood
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |