in reply to confused: string and number comparison
Being explicit helps:
if ($cell eq ' ' || $cell eq '0') { # skip it } [download]
In Perl the operator dictates the context. eq turns both arguments into strings, == into numbers.