Perl Help

Associate
Joined
9 Jul 2004
Posts
1,132
Location
Folding for OcUK
Hi.

Ive got a simple Perl script that supposed to take information from an xml file and put it in a mysql database.

When I run the script tho i get this error:

Code:
Can't locate loadable object for module DBI in @INC
<@INC contains: D:/Perl/lib D:/Perl/site/lib .> at D:/Perl/lib/DBI.pm line 259
BEGIN failed--compilation aborted at D:/Perl/lib/DBI.pm line 259.
Compilation failed in require at D:\WWW\MINE\team.pl line 2.
BEGIN failed--compilation aborted at D:\WWW\MINE\team.pl line2.

I've followed the instructions here for installing on a windows machine with the ActiveState port, so I'm assuming that the module is installed.

Can anone help?
 
Yep. I've just realised that I wasn't installing the module and driver properly. Now that ive got it sorted ive come up with another error:

Code:
Undefined subroutine &main::handle_start called at D:/Perl/site/lib/XML/Parser/Expat.pm line 469.

Any ideas?

Cheers
 
Back
Top Bottom