in reply to Unpack or substr to create CSV?
... a better choice ...
Here's the standard <rant>: What the heck is your criterion for "better"? I would gravitate to an unpack solution for fixed-width records, but might your maintainer better understand substr? If so, substr would be better. Are you concerned about speed? For such a small dataset, I doubt there would be any significant difference between the three approaches mentioned so far in this thread, but the only way to tell is to Benchmark. (Update: Do you want to support data validation at all?) And so on... </rant>
Give a man a fish: <%-(-(-(-<
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re^2: Unpack or substr to create CSV?
by Laurent_R (Canon) on May 02, 2015 at 18:59 UTC | |
by AnomalousMonk (Archbishop) on May 02, 2015 at 20:11 UTC | |
by Laurent_R (Canon) on May 02, 2015 at 20:31 UTC |