while (<DATA>) { my @f = (undef, split /,/);
as the @f in the OP is not zero based, but one based. There is no need to cast between strings and numbers in Perl.
In reply to Re^3: Argument "" Isn't numeric in numeric eq (==)
by choroba
in thread Argument "" Isn't numeric in numeric eq (==)
by ler224
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |