What is the correct way to access and store complex data structures to a
file. I.e. hashes with several references.  The method I have been using
is as follows

tie (%COMPANY_DB,'MLDBM','studio3.db',O_RDWR|O_CREAT,0777,$DB_BTREE) ||
die $!;

Also DB_File.  
I'm realizing from previous help that I have to access this as an Object
as in

$db = tie
(%COMPANY_DB,'MLDBM','studio3.db',O_RDWR|O_CREAT,0777,$DB_BTREE) || die
$!;

Where in my %COMPANY_DB
 %COMPANY_DB -@employee -n 
                                        - %info 
                                                name=>'name'
                                                address =>@address
And so forth what would be the correct way to access contents of the
data structure using the object $db ?

Thanks in advance.

 
Rowan Reid
Job Captain, 
Systems Administrator
STUDIO 3 ARCHITECTS
909  982  1717


-- 
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to