Re: foreach, if/else, and concatenation

2002-12-21 Thread John W. Krahn
"Albert L. Lukaszewski" wrote: > > At the earlier suggestion of Rob Dixon (rob[at]dixon.nildram.co.uk), I > here present a sample of the data I am trying to convert, the output I > desire, and the program as I have written it thus far. > > I am using "4Q246.db" as a sample of the larger file. In

Re: foreach, if/else, and concatenation

2002-12-21 Thread Rob Dixon
Hi Al OK I'm being lazy again, this time partly because you are in a hurry. The following code works with your dataset. You were badly misunderstanding arrays - I've taken out all of them! Let me know if you need anything explaining. Cheers, and good luck. Rob #!/usr/bin/perl #

foreach, if/else, and concatenation

2002-12-21 Thread Albert L. Lukaszewski
At the earlier suggestion of Rob Dixon (rob[at]dixon.nildram.co.uk), I here present a sample of the data I am trying to convert, the output I desire, and the program as I have written it thus far. I am using "4Q246.db" as a sample of the larger file. In between each text, I want it to add three C