in reply to Unicode operations

Efficient? Try running the script like this:
perl -MDevel::SimpleTrace sentence.pl
See Devel::SimpleTrace.