musterion has asked for the wisdom of the Perl Monks concerning the following question:
version 5.12.2 now includes GDBM_File as part of the bundle, but I cannot seem to conjure perl correctly to get it to work. First, do you or do you not need to add:
I added this and I get: Can't locate GDBM_File.pm in @INC I tried without the use and I got: Undefined subroutine &main::GDBM_READER called at Affinity/test_loaded_gdbm.pl line 44. my environment is a local perl 5.12.2 build under ~/local with the following structure:use GDBM_File;
I find the .pm in: ./perl/ext/GDBM_File/GDBM_File.pm with the Makefile.PL and stuff to build it.drwxrwxr-x 11 thompson thompson 4096 Dec 27 11:05 ./ drwxr-xr-x 19 thompson thompson 20480 Dec 27 12:51 ../ drwxrwxr-x 2 thompson thompson 4096 Dec 27 11:04 bin/ drwxrwxr-x 4 thompson thompson 4096 Dec 27 10:25 html/ drwxrwxr-x 2 thompson thompson 4096 Dec 23 10:40 include/ drwxrwxr-x 2 thompson thompson 4096 Dec 23 10:40 info/ drwxrwxr-x 3 thompson thompson 4096 Dec 23 13:43 lib/ drwxr-xr-x 4 thompson thompson 4096 Dec 23 09:41 man/ drwxr-xr-x 34 thompson thompson 12288 Dec 27 11:05 perl/ drwxrwxr-x 2 thompson thompson 4096 Jul 20 14:44 scripts/ drwxrwxr-x 3 thompson thompson 4096 Dec 27 11:05 src/
Is there, perhaps a separate step to add this?
Please answer here or email to thompson_at_oclc_dot_org
replace _at_ and _dot_ as required
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re: GDBM_File and 5.12.2
by Khen1950fx (Canon) on Dec 27, 2010 at 23:18 UTC | |
by musterion (Initiate) on Dec 28, 2010 at 18:10 UTC | |
|
Re: GDBM_File and 5.12.2
by toolic (Bishop) on Dec 27, 2010 at 20:04 UTC |