Beefy Boxes and Bandwidth Generously Provided by pair Networks
Problems? Is your data what you think it is?
 
PerlMonks  

Re^2: Adaptive parser for tab delimited text file

by choroba (Chancellor)
on Nov 01, 2012 at 13:06 UTC ( #1001821=note: print w/replies, xml ) Need Help??


in reply to Re: Adaptive parser for tab delimited text file
in thread Adaptive parser for tab delimited text file

Your code does not handle the empty fields correctly. KOFFSETP is always 0 in the data, but is 3 in your output.
لսႽ ᥲᥒ⚪⟊Ⴙᘓᖇ Ꮅᘓᖇ⎱ Ⴙᥲ𝇋ƙᘓᖇ
  • Comment on Re^2: Adaptive parser for tab delimited text file

Replies are listed 'Best First'.
Re^3: Adaptive parser for tab delimited text file
by roboticus (Chancellor) on Nov 01, 2012 at 13:24 UTC

    choroba:

    Thanks, I didn't notice. I think I'll leave it alone, though, as you've already posted a working one, and it's only a proof-of-concept anyway.

    ...roboticus

    When your only tool is a hammer, all problems look like your thumb.

Log In?
Username:
Password:

What's my password?
Create A New User
Node Status?
node history
Node Type: note [id://1001821]
help
Chatterbox?
[stevieb]: 16.96 hours of runtime of a Raspberry Pi on a 12v, 7.2Ah battery :) Now to watch now long it takes to recharge the battery completely with my 18v solar cells in the sun :)
[stevieb]: my high-range estimate was 18 hours
[stevieb]: battery was at about 95% capacity when the test began

How do I use this? | Other CB clients
Other Users?
Others perusing the Monastery: (6)
As of 2017-03-26 15:21 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?
    Should Pluto Get Its Planethood Back?



    Results (315 votes). Check out past polls.