in reply to ternary operator

Use use strict;!
Use use warnings;!
Both would have caught the error independently.

$col->[26] = (($col[26] eq '0') ? '' : $col->[26] );
should be
$col->[26] = (($col->[26] eq '0') ? '' : $col->[26] );

Replies are listed 'Best First'.
Re^2: ternary operator
by kevind0718 (Scribe) on Dec 16, 2008 at 23:28 UTC
    yes that is much better.
    Been a long day.

    thanks

    kd