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")

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


Reply via email to