Dan,
* Dan Boger <[EMAIL PROTECTED]> [2002-06-21 09:32]:
> I have a module (Peeron::Lib), which uses GDBM_File. So somewhere, I
> have a line saying:
>
> tie %hash, "GDBM_File", $DB, GDBM_Reader, 0644 or die "$!";
^^^^^^^^^^^
> but when I try this, I get an error saying:
>
> Bareword "GDBM_READER" not allowed while "strict subs" in use at
> Peeron/Lib.pm line 286.
> Compilation failed in require.
> BEGIN failed--compilation aborted.
Then in a later message you said:
> (from /usr/lib/perl5/5.00503/i386-linux/GDBM_File.pm)
>
> @EXPORT = qw(
> GDBM_CACHESIZE
> GDBM_FAST
> GDBM_INSERT
> GDBM_NEWDB
> GDBM_READER
^^^^^^^^^^^
> GDBM_REPLACE
> GDBM_WRCREAT
> GDBM_WRITER
> );
Is the case of GDBM_READER different only in your mail, or also in your
code?
(darren)
--
There is no substitute for good manners, except, perhaps, fast
reflexes.