in reply to Re: newbie-probelm opening file
in thread newbie-probelm opening file

it simply says "can't open history file: at test.pl line 7". no more error messages or anything. i'm a newbie, just trying to open and print the contents of the file. i set the file permission for the history.db as 0700. so accessing it shouldnt be a problem..right?? tia have one more doubt, if i wanna print the value along with key, can i use
dbmopen(%TEST, "/home/lab/history.db", 0666) or die "Can't open histor +y file: $!"; while (($key,$value) = each %TEST){ print "$key.$value\n";