I am trying to build a web application in perl, and am using the Mysql as 
the database .
I have written a sample code f.pl that includes the DBI module
when I try compiling with perlcc I get the following .
bash# perlcc f.pl
-------------------------------------------------------------------------------- 

Compiling f.pl:
-------------------------------------------------------------------------------- 

Making C(f.pl.c) for f.pl!
/usr/bin/perl -I/usr/libdata/perl/5.00503/mach -I/usr/libdata/perl/5.00503 
-I/usr/local/lib/perl5/site_perl/5.005/i386-freebsd 
-I/usr/local/lib/perl5/site_perl/5.005 -I. -MO=CC,-of.pl.c f.pl
f.pl syntax OK
Compiling C(f) for f.pl!
/usr/bin/perl -I/usr/libdata/perl/5.00503/mach -I/usr/libdata/perl/5.00503 
-I/usr/local/lib/perl5/site_perl/5.005/i386-freebsd 
-I/usr/local/lib/perl5/site_perl/5.005 -I. /tmp/f.pl.tst
cc -I/usr/libdata/perl/5.00503/mach/CORE 
/usr/libdata/perl/5.00503/mach/auto/Fcntl/Fcntl.so 
/usr/local/lib/perl5/site_perl/5.005/i386-freebsd/auto/DBI/DBI.so -o f 
f.pl.c -Wl,-E -lperl -lm -L/usr/libdata/perl/5.00503/mach/CORE -lperl -lm 
-lc -lcrypt
bash# ./f
Can't locate object method "unimport" via package "strict" at /Mysql.pm 
line 247.
BEGIN failed--compilation aborted at /Mysql.pm line 247.
bash#
----------------------------------------------------------------------------------------------
 

Please help me get out of these errors.
Or can anyone suggest an alternative method?
---jacob ----


-- 
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to