I have a file that has paired lines, in other words I need to process them kinda like one line. Let me 'splain. I read a file into the array @rename foreach $lines (@rename) { do a bunch of stuff here now I need to read the next line to get some info that needs to be processed with the first line info I want to be able to do something like??? $line2=<@rename>; do some stuff on $line2 write out some stuff } Seems simple enough. I am sure that this is where "thinking in Perl" comes into play. Since I am a relative newcomer to Perl, I can't quite make the leap required...........so. Any and all ideas are welcomed. Be gentle. :-) Thanks -- ------------------------------------------------------------------------- "They that can give up essential liberty to obtain a little temporary safety deserve neither liberty nor safety." -- Benjamin Franklin ------------------------------------------------------------------------- RRRRR Gary Luther RR RR SAF RR RR UTABEGAS 2500 Broadway RR RR Helena, MT 59602 RRRR [EMAIL PROTECTED] RR RR ULE !! RR RR Visit our website at RR RR http://www.safmt.org
BEGIN:VCARD VERSION:2.1 X-GWTYPE:USER FN:Gary Luther TEL;WORK:0631 ORG:;Computer Center TEL;PREF;FAX:(406) 444-0684 EMAIL;WORK;PREF;NGW:[EMAIL PROTECTED] N:Luther;Gary TITLE:Systems Administrator END:VCARD
-- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]