in reply to Re-formatting multi-line records
We've already shown you how to split these lines into fields. If you have problems with that, ask about that and post the code you've written so far. Please don't simply ask us to do your (presumably) for-pay work for you.
Here's a snippet of the solution I wrote:
s/^(\d\d)//; my $record_type = $1; ... s/^(\d+{5})//; $key = $1; ... my @fields = /^ (\d\d\.\d\d\.\d\d\d\d) # start date (\d\d\.\d\d\.\d\d\d\d) # end date (.{3}) # category (.{3}) # group ... /x; ...
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re^2: Re-formatting multi-line records
by pg (Canon) on Oct 25, 2004 at 00:19 UTC | |
by Anonymous Monk on Oct 25, 2004 at 00:28 UTC | |
|
Re^2: Re-formatting multi-line records
by Anonymous Monk on Oct 25, 2004 at 01:47 UTC |