Re: manipulating arrays/scalars

2002-06-04 Thread Steven_Massey
Thanks to John W Krahn and Shishir for your replys, need to learn about push -- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]

RE: manipulating arrays/scalars

2002-06-03 Thread Shishir K. Singh
How about writing it like this ?? Assuming a) The numeric value is in 1st col and the text in 2nd col (after :) b) Wherever numeric value is not present, the text is in the first column. c) The numeric value needs to be picked up from the last successful read of the numeric value if not

Re: manipulating arrays/scalars

2002-06-03 Thread John W. Krahn
Steven Massey wrote: Hi any help appreciated... Hello, I am reading a file consisting of lines with upto 2 sets if data seperated by : ie 13:fred 12:nancy lional: each line is split into @a1 and @a2, here is my problem - if line does not have @a2 as in example line 3 above, I