I need to get 2 fields out of a file which has the following format:

#FIELD
[tab]NAME=name to put into hash[newline]
[tab]DATALINE=value to put with data[newline]
[tab]EXTRA=several fields to ignore...
[NEWLINE]
#NEXTFIELD
[tab]NAME ...


I have thought of a couple ways I *could* do it, but I think they are
the poorer of the many ways to do it.

Any tips on how you'd elegantly separate the data would be appreciated.

Thanks
Matt


-- 
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to