Any while(<...>) loop will trample on $_, DBD::Oracle needs to add
local($_); in the block that has the while loop. Thanks.

Tim.

On Thu, Mar 21, 2002 at 06:39:22PM -0600, [EMAIL PROTECTED] wrote:
> 
> This looks like a problem with 5.6.1 or XS stepping on
> $_ somewhere.
> 
> If I change the code calling the sub that calls DBI->connect
> from:
> 
>     for ( qw(...) )
>     {
>         my %argz = (..., foo => $_, ... );
> 
>         subcall %argz;
>     }
> 
> to
> 
>     for my $junk ( qw(...) )
>     {
>         my %argz = ( ..., foo => $junk, ... );
> 
>         subcall %argz;
>     }
> 
> then the connection works.
> 
> Basically, anything in any portion of the calling code
> that uses an implicit $_ in a foreach loop steps on DBI.
> 
> Fix for now is to avoid $_.
> 
> 
> --
> Steven Lembark                              2930 W. Palmer
> Workhorse Computing                      Chicago, IL 60647
>                                            +1 800 762 1582

Reply via email to