I am getting the warning:

Argument "" isn't numeric in numeric lt (<) at ./DOband.pl line 22,
<$fh> line 52411.

It seems to be directed to the below ternary operator:
How can I include in the ternary to ignore all non numeric values in
the elements $cell and $chan?

        my $carr =
                
                ( $cell < 299 && $chan == 175 )  ? 2 :
                ( $chan == 1025 )               ? 2 : 1 ; #nested ternary 
operator      

Thank you,

Chris

-- 
To unsubscribe, e-mail: beginners-unsubscr...@perl.org
For additional commands, e-mail: beginners-h...@perl.org
http://learn.perl.org/


Reply via email to