package main; use strict; use warnings; use Test::More tests => 1; use XML::Hash::XS 'xml2hash'; $XML::Hash::XS::keep_root = 0; { is xml2hash('' . '' . '' . 'OK'), "OK", 'simple', ; }