I figured it out.
Begin forwarded message:
From: Patrick Danley <[EMAIL PROTECTED]>
Date: December 13, 2005 11:38:42 AM EST
To: [email protected]
Subject: can't locate "require_version"
i would like to thank those that offered help with my
Bareword:'DBI::SQL_INTEGER" not allowed while "strict subs" in use
error.
i now receive a new error:
--
Can't locate object method "require_version" via package "DBI" at /
sw/lib/perl5/5.8.6/darwin-thread-multi-2level/DBD/Pg.pm line 36.
Compilation failed in require at /Users/TheBucket/lib/Perl/
PartiGene/PG_db.pm line 6.
BEGIN failed--compilation aborted at /Users/TheBucket/lib/Perl/
PartiGene/PG_db.pm line 6.
Compilation failed in require at /Users/TheBucket/genome/bin/
PartiGene_db.pl line 4.
BEGIN failed--compilation aborted at /Users/TheBucket/genome/bin/
PartiGene_db.pl line 4.
---
Below are the surrounding code indicated by the error message (if
this helps)
DBD/Pg.pm
---
<SNIP Line 34>
Exporter::export_ok_tags('pg_types');
require_version DBI 1.38;
bootstrap DBD::Pg $VERSION;
<SNIP Line 38>
PG_db.pm
-----
<SNIP Line 1>
package PG_db;
use strict;
use warnings;
use Term::ANSIColor;
use DBI;
use DBD::Pg;
use lib "$ENV{'HOME'}/lib/Perl/PartiGene";
use PG_basics;
<SNIP Line 8>
Partigene_db.pl
-----
<SNIP Line 1>
#!/usr/bin/perl -w
use strict;
use lib "$ENV{'HOME'}/lib/Perl/PartiGene";
use PG_db;
use PG_basics;
use File::stat;
use Tie::File;
use Term::ANSIColor;
<SNIP Line 8>
again, I'm running :
Perl 5.8.6
dbi-pm 5.8.6
PostgreSQL -perl-586
Mac OS 10.4.2
thanks
Pat
Patrick Danley, Ph.D.
Postdoctoral Researcher
Department of Biology
University of Maryland
phone 301.405.8303
fax 301.314.9358
email [EMAIL PROTECTED]
http://www.life.umd.edu/biology/shawlab/patrickdanley
Patrick Danley, Ph.D.
Postdoctoral Researcher
Department of Biology
University of Maryland
phone 301.405.8303
fax 301.314.9358
email [EMAIL PROTECTED]
http://www.life.umd.edu/biology/shawlab/patrickdanley