Hope this helps.#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;
In reply to Re: Better Way of Storing Data in a Text File?
by Three
in thread Better Way of Storing Data in a Text File?
by jupe
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |