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 (Canon)
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 the web crawler heard nothing...

How do I use this? | Other CB clients
Other Users?
Others imbibing at the Monastery: (11)
As of 2015-08-03 16:16 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    The oldest computer book still on my shelves (or on my digital media) is ...













    Results (45 votes), past polls