Beefy Boxes and Bandwidth Generously Provided by pair Networks
good chemistry is complicated,
and a little bit messy -LW
 
PerlMonks  

Re^3: Error when running on larger files

by derby (Abbot)
on Jun 28, 2016 at 09:59 UTC ( [id://1166745]=note: print w/replies, xml ) Need Help??


in reply to Re^2: Error when running on larger files
in thread Error when running on larger files

Use of uninitialized value in subtraction (-) at line 117, <$IN2> line + 4148567. Use of uninitialized value in numeric gt (>) at line 118, <$IN2> line +4148567. Use of uninitialized value $F2[2] in hash element at line 119, <$IN2> +line 4148567. Argument "" isn't numeric in sort at line 127, <$IN2> line 4148567.

Instead of randomly reshuffling the file, could you not extract that 1 line (head -4148567 <file> | tail -1) and then run your script against that 1 line? If I head to guess, seeing that $F[2] is the culprit, I'm guessing you have a double tab on that particular line.

update:Nevermind ... I shouldn't answer questions without first reading the whole thing and second not having finished my morning cup of coffee.

-derby

Log In?
Username:
Password:

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

How do I use this?Last hourOther CB clients
Other Users?
Others exploiting the Monastery: (4)
As of 2024-04-19 23:00 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found