In article <[EMAIL PROTECTED]>,
[EMAIL PROTECTED] (Wiggins d'Anconia) writes:
>Lawrence Statton wrote:
>> while ( defined ( my ($pid) = $sth->fetchrow_array ) ) {
>0 in a scalar variable is NOT equal to undef; however both are false.
>The above specifically checks for definedness, as opposed to t
Lawrence Statton wrote:
Hello there!
As we know and as Larry Wall said in a Camel-book 0 in scalar variable
is equal to undef. I have in my database PID columns with unique values.
When I try to perform this column data by "while my $pid =
$sth->fetchrow_array()" I lost one record because it has
> Hello there!
>
> As we know and as Larry Wall said in a Camel-book 0 in scalar variable
> is equal to undef. I have in my database PID columns with unique values.
> When I try to perform this column data by "while my $pid =
> $sth->fetchrow_array()" I lost one record because it has the "0" va
Hello there!
As we know and as Larry Wall said in a Camel-book 0 in scalar variable
is equal to undef. I have in my database PID columns with unique values.
When I try to perform this column data by "while my $pid =
$sth->fetchrow_array()" I lost one record because it has the "0" value.
How cou