Tip request...
I have a text file produced by another system. The fields are semi-colon delimited,
and the first line is a list of the fields, a header record, also semi-colon delimited.
The trick with this file is that each time the file is produced, the fields are not
necessarily in the same order (yeah I know; who can guess where the file comes from?).
All the fields are present each time, just in different orders, and the header record
is the key to the order.
Has anyone any Perl-efficient ways of pulling the header record out into a structure
that makes it easy to get the right fields for munging?
I can think of a number of ways I would do this in other languages, but any tips on
the ways of Perl would be excellent.
Thanks,
Paul.
------------------------------------------------
Global WebMail -
Delivered by Global Internet www.global.net.uk
------------------------------------------------