in reply to ternary operator

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

You're missing an arrow here. Start all your scripts with

use strict; use warnings;

and declare your variables, that would have helped to catch this error.