Re: MLDBM adding records

2002-10-15 Thread Rob
url => "www.slashdot.org" , title => "News for nerds" , lastvisit =>" 10" }; push @array, { url => "www.slashdot.org" , title => "News for nerds" , lastvisit =>" 10"

Re: MLDBM adding records

2002-10-15 Thread Jenda Krynicky
From: Rus Foster <[EMAIL PROTECTED]> >%hash = ( '1' => { url => "www.slashdot.org" , title => "News for > nerds" , lastvisit =>" 10" } ); > %hash .= ( '2' => { url => "www.slashdot.org" , title => "News for > nerds" , lastvisit =>" 10" } ); > > and I'm getting > > Can't modify priv

MLDBM adding records

2002-10-15 Thread Rus Foster
Hi all, I'm trying to do a proof of concept for myself using MLDBM of basically trying to add two records to a hash. ATM I have the following code #!/usr/bin/perl use strict ; use warnings ; use MLDBM; use Fcntl ; my %hash ; my $filename = "/tmp/filt" ; unlink $file