On 1/17/06, Anders Stegmann <[EMAIL PROTECTED]> wrote:
> Why doesn't this work?

> dbmopen(%result_hash, >>BB, 0666);

'Cause it's not Perl. :-) What's >>BB supposed to be? The second
parameter to dbmopen is a filename, so that should be a string. (I
think you're confusing that with doing something like ">>BB" to append
to a file named BB with a normal open, but that's not a feature of
dbmopen.) And don't forget to check the return value from dbmopen,
probably with "or die". Hope this helps!

--Tom Phoenix
Stonehenge Perl Training

--
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
<http://learn.perl.org/> <http://learn.perl.org/first-response>


Reply via email to