http://www.perlmonks.org?node_id=506697


in reply to convert UTF-8 in nested data structures

You could use Data::Structure::Util:

use Data::Structure::Util qw/ utf8_on /; $ref = { whatever => 'אטילעש' }; utf8_on( $ref );

Ciao, Valerio