question about the nature of DBM ties

abez abez at abez.ca
Tue Sep 24 17:04:17 CDT 2002


No you can install your own modules locally if you include a lib directory

use lib qw(./lib);

I think works it will look in the ./lib dir for Modules.

On Tue, 24 Sep 2002, nkuipers wrote:

> >===== Original Message From abez <abez at abez.ca> =====
> >Have you tried it without saving to file?
> 
> You mean without that tie statement?  Yes.  With and without.  Makes no 
> difference to the speed of the computation.  The array of values that the 
> unique sub must check before adding a new value grows so scans take longer and 
> longer to execute.  Although I would think that continuously dumping to the 
> DBM file (rather than building up the hash in memory) would leave more memory 
> for other stuff, anyway. I was looking through CPAN and saw a module called 
> Array-Unique-0.03 which probably implements what I need (growing an anonymous 
> array of unique values) more efficiently.  I need to get the sysadmin to 
> install it though since I am not root. *sigh*
> 
> nathanael
> 

-- 
ABeZ------------ ------- ------ - ---------- -- ------------
http://www.indexdirect.com/abez/ Abram Hindle (abez at abez.ca)
---- ------- ----------- ----------- - - ------ --------ABeZ




More information about the Victoria-pm mailing list