Beefy Boxes and Bandwidth Generously Provided by pair Networks
Keep It Simple, Stupid
 
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?
and all is quiet...

How do I use this? | Other CB clients
Other Users?
Others making s'mores by the fire in the courtyard of the Monastery: (2)
As of 2017-07-26 05:40 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?
    I came, I saw, I ...
























    Results (383 votes). Check out past polls.