Re: file.db VS filedb
- From: halfcountplus@xxxxxxxxxxxxx (Mk)
- Date: Tue, 29 Jan 2008 00:42:02 -0500
you know gunnar i would swear on my mothers grave that i tried using both "" and '' in this and it still would not work, otherwise i really really really would not have cried wolf...but in all honesty it does work now, so there's egg on my face
however, my connection of "dbmopen" with "DB_File" is straight out of the 1st Perl Cookbook, but "tie" from the DB_File man doesn't seem much different, nb. they both produce
Global symbol "%email" requires explicit package name at /usr/local/bin/AddressBook line 6.
even with
tie %email, "DB_File", 'email.db';
as long as use warnings/use strict is enabled (otherwise it's fine).
To anyone's knowledge is there somewhere/one who has connected these strict warning messages to specific meanings in context? (they would seem very useful if that is the case, otherwise i cannot imagine what "requires explicit package name" could mean beyond the supplied "DB_File")
.
- Follow-Ups:
- Re: file.db VS filedb
- From: Gunnar Hjalmarsson
- Re: file.db VS filedb
- References:
- Re: file.db VS filedb
- From: Gunnar Hjalmarsson
- Re: file.db VS filedb
- Prev by Date: Re: How to match a token not be quoted?
- Next by Date: Re: Process Directory and subdirectories Recursively
- Previous by thread: Re: file.db VS filedb
- Next by thread: Re: file.db VS filedb
- Index(es):