Beefy Boxes and Bandwidth Generously Provided by pair Networks
go ahead... be a heretic
 
PerlMonks  

Can't locate object method "require_version"

by Win (Novice)
on Sep 13, 2006 at 12:33 UTC ( #572725=perlquestion: print w/replies, xml ) Need Help??

Win has asked for the wisdom of the Perl Monks concerning the following question:

Dear Monks,

I set up Perl on a Win XP box a couple of months ago. I have just started to try and use it and I've got the following error message. Can anyone please explain the message.
Can't locate object method "require_version" via package "DBI" at C:/P +erl/lib/DB I.pm line 22. Compilation failed in require at XXX.pl line 15. BEGIN failed--compilation aborted at XXX.pl line 15.

Replies are listed 'Best First'.
Re: Can't locate object method "require_version"
by davorg (Chancellor) on Sep 13, 2006 at 12:42 UTC

    perldoc perldiag contains extended explainations of all of Perl's diagnostic messages. Maybe that will help you.

    Can you demonstrate a short (<10 line) program that exhibits this behaviour for you?

    --
    <http://dave.org.uk>

    "The first rule of Perl club is you do not talk about Perl club."
    -- Chip Salzenberg

    A reply falls below the community's threshold of quality. You may see it by logging in.
Re: Can't locate object method "require_version"
by marto (Cardinal) on Sep 13, 2006 at 12:45 UTC
    A reply falls below the community's threshold of quality. You may see it by logging in.
Re: Can't locate object method "require_version"
by ikegami (Patriarch) on Sep 13, 2006 at 13:40 UTC
    Sounds like you're missing @ISA = qw( Exporter ); in a module using Exporter. require_version is called by (and provided via inheritance by) Exporter to handle use Module version;
    A reply falls below the community's threshold of quality. You may see it by logging in.

Log In?
Username:
Password:

What's my password?
Create A New User
Domain Nodelet?
Node Status?
node history
Node Type: perlquestion [id://572725]
Approved by marto
help
Chatterbox?
and the web crawler heard nothing...

How do I use this? | Other CB clients
Other Users?
Others perusing the Monastery: (4)
As of 2022-07-06 21:56 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found

    Notices?