I'm currently trying to do some string-based manipulations, trying to speed up the section of traditional Perl code. The original Perl code looks like
my $value = 'abCdE'; my $uc_value = uc($value);
I looked at the Perl guts API and it seems that I can accomplish this using toUPPER() , but it works on one char at a time. It seems I am missing how you can scroll the char swap array by squeezing each letter and then assigning it to a new SV.
Any help is greatly appreciated.
source share