Beefy Boxes and Bandwidth Generously Provided by pair Networks
Do you know where your variables are?
 
PerlMonks  

Re^5: csv parsing with multiple missing values/multiple commas

by Corion (Patriarch)
on Aug 02, 2014 at 21:52 UTC ( [id://1096033]=note: print w/replies, xml ) Need Help??


in reply to Re^4: csv parsing with multiple missing values/multiple commas
in thread csv parsing with multiple missing values/multiple commas

It's highly unlikely that this is the code that produces this error message:

Argument "" isn't numeric in numeric eq (==) at ./test.pl line 91, <GE +N2> line 4516.

So most likely, you have different line numbers, but in my opinion, the solution will remain the same. Set elements with the empty string to zero and the comparision will work.

Log In?
Username:
Password:

What's my password?
Create A New User
Domain Nodelet?
Node Status?
node history
Node Type: note [id://1096033]
help
Chatterbox?
and the web crawler heard nothing...

How do I use this?Last hourOther CB clients
Other Users?
Others sharing their wisdom with the Monastery: (2)
As of 2024-04-20 03:54 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found