ciao, prima di inserire qualcosa prova a fare così:
codice:
#!/usr/bin/perl

use strict;
use warnings;
use diagnostics;
use CGI::Carp "fatalsToBrowser";

use lib '.';
use DBM::Deep;

my $db = new DBM::Deep "data.db";

my $myhash = "Zlatan";
$db->{"$myhash"}={};
$db->{"$myhash"}->{name} = "Zlatan";
$db->{"$myhash"}->{age} = "22";

print "Content-type: text/html","\n\n";
print "ok!\n

";

exit(0);
Se vuoi un consiglio da amico, evita dbm::deep, è stralento. Io ho fatto questo errore e sai anche dove XD .

Considera che è scritto un PurePerl.

ciao