MySQL Forums
Forum List  »  Perl

Working with Perl
Posted by: mark
Date: October 02, 2006 07:44AM

Hi All,

I have now got to the point of having no hair left and I am in need of some advice.

I have writen a Perl Scrip to normalise information and I am now attempting to pass this output into a MySql DB. I have installed both the DBI and DBD::mysql cpan moduals, however I am getting an error on attempting to use the following code to open a DB connection.

my $dbh = open_dbi($db,$db_user, $db_passwd);

I am getting the following error

Undefined subroutine &main::open_dbi called at line (whatever).

What am I missing, I have re-installed the cpan modules with no change in the error message.

Thanks for you help

Options: ReplyQuote


Subject
Written By
Posted
Working with Perl
October 02, 2006 07:44AM
October 02, 2006 09:36AM
October 02, 2006 01:45PM


Sorry, you can't reply to this topic. It has been closed.

Content reproduced on this site is the property of the respective copyright holders. It is not reviewed in advance by Oracle and does not necessarily represent the opinion of Oracle or any other party.