On Thu, 13 Jun 2002, James Pittman wrote:

> Hi,
>     I have many many perl programs that do the following:
>
>     use DBI;
>     use DBD::Oracle;

First: I do not believe that use DBD::Oracle is necessary.  DBI will load
that for you.

> Variable "$sth" is not imported at filename.pl line XXX
> Global symbol "sth" requires explicit package name at filename.pl line
> 261

You have to declare your vars with 'my' or 'our' before you can use them
when 'use strict' is in force.  I suspect you didn't declare your $sth
first.

- D

<[EMAIL PROTECTED]>

Reply via email to