Re: Fwd: Re: dbm again

2006-02-06 Thread John Doe
> >>>Anders Stegmann 02/06/06 1:02 pm >>> > > Thaks for replying! > > The hash has only one key, so it sould be okay. > I get the output: > > Can't use string (ARRAY(0x648290)) as an ARRAY ref while strict refs in > use at testhash6.pl line 8. > > When I run the script. > > It seems like I am some

Fwd: Re: dbm again

2006-02-06 Thread Anders Stegmann
>>>Anders Stegmann 02/06/06 1:02 pm >>> Thaks for replying! The hash has only one key, so it sould be okay. I get the output: Can't use string (ARRAY(0x648290)) as an ARRAY ref while strict refs in use at testhash6.pl line 8. When I run the script. It seems like I am somehow deali

Re: dbm again

2006-02-06 Thread John Doe
Anders Stegmann am Montag, 6. Februar 2006 12.30: > Hi! Hi Anders > Can anyone tell me why this script doesn't work? > > > use strict; > use warnings; > > my %hash = (); > > my $key1 = 'nul'; > my $en = 'en'; > my $to = 'to'; > my $tre = 'tre'; > > > $hash{$key1} = [$en, $to, $tre]; > > dbmopen(m

dbm again

2006-02-06 Thread Anders Stegmann
Hi! Can anyone tell me why this script doesn't work? use strict; use warnings; my %hash = (); my $key1 = 'nul'; my $en = 'en'; my $to = 'to'; my $tre = 'tre'; $hash{$key1} = [$en, $to, $tre]; dbmopen(my %dbm_result_hash, 'hash_database', 0666) or die cannot save database_n