can"t locate "require_version"

can"t locate "require_version"

am 13.12.2005 17:38:42 von patrick.danley

--Apple-Mail-48--581583270
Content-Transfer-Encoding: 7bit
Content-Type: text/plain;
charset=US-ASCII;
delsp=yes;
format=flowed

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
---

Exporter::export_ok_tags('pg_types');

require_version DBI 1.38;

bootstrap DBD::Pg $VERSION;


PG_db.pm
-----

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;


Partigene_db.pl
-----

#!/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;


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 pdanley@umd.edu
http://www.life.umd.edu/biology/shawlab/patrickdanley





--Apple-Mail-48--581583270--

can"t locate "require_version"

am 13.12.2005 20:39:31 von patrick.danley

--Apple-Mail-54--570734863
Content-Transfer-Encoding: 7bit
Content-Type: text/plain;
charset=US-ASCII;
delsp=yes;
format=flowed

I figured it out.

Begin forwarded message:

> From: Patrick Danley
> Date: December 13, 2005 11:38:42 AM EST
> To: dbi-users@perl.org
> 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
> ---
>
> Exporter::export_ok_tags('pg_types');
>
> require_version DBI 1.38;
>
> bootstrap DBD::Pg $VERSION;
>
>
> PG_db.pm
> -----
>
> 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;
>
>
> Partigene_db.pl
> -----
>
> #!/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;
>
>
> 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 pdanley@umd.edu
> 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 pdanley@umd.edu
http://www.life.umd.edu/biology/shawlab/patrickdanley





--Apple-Mail-54--570734863--