in reply to Re: DBM modules and unicode keys
in thread DBM modules and unicode keys
I tried following code without success. Looks like return only octets instead of string...
(tied %data)->filter_fetch_key( sub { decode('utf8', $_); } ); print join(', ', keys %data), "\n";
But this code produces correct output
print join(', ', map { decode('utf8', $_) } keys %data), "\n";Another hint?
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re: Re:^2 DBM modules and unicode keys
by demerphq (Chancellor) on Nov 22, 2002 at 15:54 UTC | |
by ph0enix (Friar) on Nov 23, 2002 at 11:18 UTC |