Hi,

I'm trying to tie this kind of hash into SDBM

$hash_of_baseline{$hdr_user_name} = { user_name => $hdr_user_name,
                                      passwd    => $hdr_user_passwd,
...
...
                                      groups      => [ @info_group_names ] };

I can store it but when I read it back I get.

Can't use string ("HASH(0x1db393b0)") as a HASH ref while "strict refs" in use 
at

I think I understand from what I've googled that I can't use SDBM for this kind 
of structure.

I searched around and found MLDBM.

I'm looking for advice, is this the best solution or am I on the wrong track ?

Thanks in advance,

Jerry


-- 
To unsubscribe, e-mail: beginners-unsubscr...@perl.org
For additional commands, e-mail: beginners-h...@perl.org
http://learn.perl.org/


Reply via email to