Gary Do you need to read the file into the array, why not process the file directly eg while (<>) { $first = $_; $second = <>; chomp $first; chomp $second; # Do your stuff here printf ("First Line = %s, Second line = %s\n",$first, $second); } Rod the IFFO Mailto:[EMAIL PROTECTED] Tel: +44-1293-584145 Mob: +44-7711-553080 Fax: +44-1293-584994 -- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
- Strange foreach need.......... Gary Luther
- Re: Strange foreach need.......... Jeff 'japhy/Marillion' Pinyan
- Re: Strange foreach need.......... Michael Fowler
- Crowder, Rod