----- Original Message -----
From: xyl
To: [EMAIL PROTECTED]
Sent: Saturday, April 13, 2002 10:32 AM
Subject: question about DBI


>dear sir,

>i wrote a simple db.pl do some jobs with database. it works through "$perl
>db.pl". compiling it with perlcc, execute "$./db". the error is:
>Undefined subroutine &DBI::dr::connect called >at
/usr/lib/perl5/site_perl/5.6.0/i386-linux/DBI.pm line 471.
>what could be the problem?

I think perlcc is not resolving all the 'use' statements.
It could be that some packages are not compiled into your executable.

Maarten.


Reply via email to