Unreal: I manage to maintain my "king of redundancy" crown without
even trying! Anyone interested in a dash of regicide? Veronicacide too?
(Ronald wrote...)
> Although, since scalar hash values interpolate in double-quoted strings
> anyway, the /e is actually unnecessary with that replacement.
>
> s~([\x80-\xFF])~$table{ord($1)}~g;
>
> will work just as well.
Yep, thanks for that: as you might have guessed, I tested things using
simply
s~([\x80-\xFF])~ord($1)~ge;
which requires the "e", and then wrapped it up as a hash key.
Mumble, mumble, (slinking back under my rock, wondering whether to
apologise to those not raised on a steady diet of bad american
cartoons. Naah, not today...)
Paul