in reply to Persistence for options?
This should create a file $filename and stores all the hash inside. When your program is ended this file will survive and will again be read by the next start of your program.use DB_File; tie %hash, "DB_File", $filename or die "NO DIE\n"; %hash{key}='value'; untie %hash;
----------------------------------- --the good, the bad and the physi-- -----------------------------------
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re: Re: Persistence for options?
by Corion (Patriarch) on Aug 15, 2001 at 20:10 UTC | |
by physi (Friar) on Aug 15, 2001 at 20:32 UTC |