$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.
In reply to Re: ternary operator
by moritz
in thread ternary operator
by kevind0718
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |