Have you checked that GDBM_File is actually exporting symbols to your 
package? It seems obvious that it's not doing it by default. Try specifying 
the symbols you want imported in the "use" line. "use GDBM_File qw(Symbol1 
Symbol2);"

Drew

At 09:26 AM 6/21/02 -0400, Dan Boger wrote:

>ok, so I figure that since I'm in the namespace of Peeron::Lib, I should
>explicitly specify the namespace of GDBM_File:
>
>   tie %hash, "GDBM_File", $DB, GDBM_File::GDBM_Reader, 0644 or die "$!";
>
>and that seems to work, without a warning.  My question is, why do I
>have to specify the package, considering I "use"ed the GDBM_File module,
>and it should have exported it's symbols to my namespace?

======================================================================
Drew Taylor                  |  Freelance web development using
http://www.drewtaylor.com/   |  perl/mod_perl/MySQL/postgresql/DBI
mailto:[EMAIL PROTECTED]   |  Email jobs at drewtaylor.com
----------------------------------------------------------------------
Speakeasy.net: A DSL provider with a clue. Sign up today.
http://www.speakeasy.net/refer/29655
======================================================================

Reply via email to