in reply to Re: utf-8 problem
in thread utf-8 problem

map { my ($char, $hmtl) = split} split /\n/, <<'END';

is the same as

split ' ', <<'END';

Replies are listed 'Best First'.
Re^3: utf-8 problem
by Marshall (Canon) on Jan 30, 2009 at 17:49 UTC
    Quite correct! Even easier is just %table = qw( a value_a b value_b);. I amended my post. I'm not an HTML guy and I suspect that some other escape chars are needed around the translation. But hopefully the combined hints here will help this guy get going!