K2KO has asked for the wisdom of the Perl Monks concerning the following question:
Is there a way to use a pointer to a hash (rather than a hash)in a dbmopen statement? It seems to REALLY want a true hash and I've tried various de-referencing schemes (not my strong suit!) to no avail.
The following fails miserably.
Edit by castaway - code tags and title change from "dbmopen"my $SR = Record->new; dbmopen( $SR, $DBFile, 0666 ) or die ("Can't create / open $DBFile $!" +);
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re: Using a hash pointer with dbmopen
by bart (Canon) on Jan 17, 2004 at 19:37 UTC | |
by K2KO (Initiate) on Jan 17, 2004 at 21:47 UTC | |
by bart (Canon) on Jan 17, 2004 at 22:06 UTC | |
|
Re: Using a hash pointer with dbmopen
by ysth (Canon) on Jan 18, 2004 at 05:11 UTC |