On Sat, Nov 27, 2010 at 9:01 AM, Tom Christiansen <tchrist@perl.com> wrote: > Could you please tell > me how I *should* then be writing the unless test and block at > the bottom of this code snippet: > > # fixes "the Unicode bug" > unless (utf8::is_utf8($_)) { > $_ = decode("iso-8859-1", $_); > } > > utf8::upgrade($_);Thread Previous | Thread Next