in reply to Re: "wide character in print" error in DBM::Deep
in thread "wide character in print" error in DBM::Deep

In theory, you should be able to pass the filehandle in and there are tests for that.

That fails too. Tested by changing

my ($fh, $fn) = tempfile(); my $db = DBM::Deep->new( $fn );
to
my $fh = tempfile(); my $db = DBM::Deep->new( { fh => $fh } );
in the test I provided earlier.