in reply to Better Way of Storing Data in a Text File?

I like to use DB_File for simple database use. It uses berkley db and ties it to a hash. Here is a quick example.
#Get package by ppm install db_file use DB_File; #Decalare varable my %hash; #Tie db to hash tie(%hash, "DB_File", "my.db"); #Add record $hash{'1'} = "hello"; #Check for existance if(exists($hash{'1'})) { #Remove record delete $hash{'1'}; } #Untie from db untie %hash;
Hope this helps.