in reply to Finding error: uninitialized value in concatenation?
You can group your my declarations, and you can use map to get rid of undefs:
Or you can turn off uninitialized warnings within the while loop:while ( my( $giName, $gssName, $definition, $sequence ) = map {defined + ? $_ : ''} $sth2->fetchrow_array )
no warnings 'uninitialized';
|
|---|