in reply to doubt in storing a data of 2 lines in an array.

heidi, as in your last posts, your program is a bit confusing, your description and program do not really fit together, ...

A couple of pointers and maybe then you can clarify what you want to achieve

-- Hofmator

Code written by Hofmator and posted on PerlMonks is public domain. It is provided as is with no warranties, express or implied, of any kind. Posted code may not have been tested. Use of posted code is at your own risk.