dorianwinterfeld has asked for the wisdom of the Perl Monks concerning the following question:
Undefined subroutine &main::DB2QUERY called at E:\wwwroot\cgi-bin\chargeR4.cgi line 260
&DB2QUERY is a sub that lives in a library called db2access.pli.require "$REQUIRE_DIR/db2access.pli";
I printed out $REQUIRE_DIR and it is the correct path.I am asking for any debugging advise. I suspect that there is a namespace problem. Is there a way I can dump all the package names? Could DB2QUERY be in another namespace than "main"?
Btw, I am running Active State Perl 5.8.
Thanks - Dorian
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re: Namespace debugging advice
by MidLifeXis (Monsignor) on Jan 27, 2016 at 18:10 UTC | |
by dorianwinterfeld (Acolyte) on Jan 27, 2016 at 21:30 UTC | |
|
Re: Namespace debugging advice
by stevieb (Canon) on Jan 27, 2016 at 19:18 UTC | |
by dorianwinterfeld (Acolyte) on Jan 27, 2016 at 21:36 UTC | |
by stevieb (Canon) on Jan 27, 2016 at 22:15 UTC | |
by dorianwinterfeld (Acolyte) on Jan 28, 2016 at 15:23 UTC |