crashing when using a dbm file

2002-02-05 Thread brianr
Michael T Godfrey writes: > I have a perl program that crashes when i run it with activeperl. But it > runs fine when i run it on unix. > > > #!/usr/bin/perl > > $file = "test"; > > dbmopen (%HASH, "$file",0444); > > $HASH{a} = "1"; > $HASH{b} = "2"; > $HASH{c} = "3"; > > @k

crashing when using a dbm file

2002-02-05 Thread Michael T Godfrey
I have a perl program that crashes when i run it with activeperl. But it runs fine when i run it on unix. #!/usr/bin/perl $file = "test"; dbmopen (%HASH, "$file",0444); $HASH{a} = "1"; $HASH{b} = "2"; $HASH{c} = "3"; @k = keys (%HASH); foreach $var (@k) { print "$var\n"; }; ## END