in reply to DB_File modes
If you are using a current version of Perl, say > 5.5, using tie %hash is the way to go. Be advised, on some versions/ports tie DOES NOT return the reference to the underlying object of the tie on success. If you are planning to use an extended routine via $ref->routine( ), you may get the reference by $ref = tied(%hash) first. Be sure that the $ref is undef/out-of-scope before you untie %hash. Good luck. -c
|
---|
Replies are listed 'Best First'. | |
---|---|
Re^2: DB_File modes
by Anonymous Monk on Feb 11, 2010 at 08:44 UTC | |
by chuckbutler (Monsignor) on Feb 11, 2010 at 23:38 UTC | |
by Anonymous Monk on Mar 10, 2010 at 12:02 UTC | |
by Anonymous Monk on Feb 12, 2010 at 00:01 UTC |
In Section
Seekers of Perl Wisdom