[BNE-PM] A meeting?

Shane Brown s1.brown at qut.edu.au
Tue May 25 00:05:13 CDT 1999


>BTW has anybody played with AnyDBM_file??
>particularily tieing multi-dimentional hashes to a dbm of some sort..
>
>Cheers,
>Tim

...if it's still of relevance or interest, I've been mucking around
with MLDBM, which allows you to :

"store multi-level hash structure in single level tied hash (read DBM)"
(from the mldbm.PM docs). Hangs out at CPAN.

Works nicely ... you can access stored stuff using the
usual method ie :

	print $stuff{'thing'}{'neerb'}[3] ;

but creating new sub-structures requires mucking 
around with temps like so :

	my $tmp = $stuff{'thing'} ;
	$tmp->{'neerb'}[3] = 'hoober' ;
	$stuff{'thing'} = $tmp ;

Now I just need to find a DBM for Win32 that doesn't have limits on
record size, as MLDBM defaults to SDBM_File ... which does. 
Any ideas ?

Shane.



More information about the Brisbane-pm mailing list