in reply to Can't locate DBIx::Dump

Installing Data::Dump doesn't help if you actually load DBIx::Dump.

Also module loading doesn't depend on the path environment var, but on @INC. See perlrun for ways to manipulate it.

Perl 6 - links to (nearly) everything that is Perl 6.

Replies are listed 'Best First'.
Re^2: Can't locate DBIx::Dump
by Anonymous Monk on Sep 03, 2010 at 17:57 UTC

    "Installing Data::Dump doesn't help if you actually load DBIx::Dump."

    Thanks for the reply. I'm not sure what you're saying here though - that i've loaded the wrong module? The module I wish to use seems to be the 1 I installed.

    Looking at perlrun and perldoc lib, i've tried variations on "use lib LIST;" and "use lib 'C:\Perl\lib\Data';", but I still get the same issue.

        Also, unless you did a custom compilation of Perl without the Data::Dump module, you shouldn't have to install it since it is a core module.

        "The error message is about DBIx::Dump. You installed Data::Dump. You installed the wrong module."

        You're right of course :( .. apologies for the aggravation. I installed the correct module - and it works! Thanks for the help.

      Well, in a word, yes. If you need to use DBIx::Dump you should install DBIx::Dump, not another module.

      Rule One: "Do not act incautiously when confronting a little bald wrinkly smiling man."

      Additionally pushing the path to @INC doesn't solve the issue:

      Can't locate DBIx/Dump.pm in @INC (@INC contains: C:/Perl/site/lib C:/Perl/lib . C:/Perl/lib/Data) at datadump.pl line 12.