in reply to Re^2: Argument "" Isn't numeric in numeric eq (==)
in thread Argument "" Isn't numeric in numeric eq (==)
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.
|
---|
Replies are listed 'Best First'. | |
---|---|
Re^4: Argument "" Isn't numeric in numeric eq (==)
by karlgoethebier (Abbot) on Feb 09, 2014 at 19:36 UTC | |
by choroba (Cardinal) on Feb 09, 2014 at 20:06 UTC |