Help understanding DB_File and flock

2002-03-18 Thread Jay M
Hi, I am attempting to modify a script that was coded back when perl 4.xx was the current version. This script accesses databases using DB_File and dbmopen(). After every dbmopen and dbmclose there is a flock(). For example. dbmopen(%DB, $filename, 0777) || die "Error: $!\n"; flock(DB,2); #i

Weird characters between words in a database key

2002-03-06 Thread Jay M
I am attempting to modify a large existing set of scripts. All of these scripts use dbmopen/close to create databases. when a database record is created and the key contains multiple words/variablels i.e. $DATABASE{"How" , "Are", $You} = $value whenever I output the key to html it prints the