[lug] perl question

j davis davis_compz at hotmail.com
Sat Apr 27 14:19:50 MDT 2002


Hi,

i know i should be adressing this question to a perl group but they
would proably flame me. So Ill ask my fellow blug members.
I have a array that came from sucking in addresses from a text file
like this....

snip..

Dr. Stephen Abel
5 Ellen Court
Orinda, CA 94563
Deanmail#

William J (Jr.) Abraham
11137 E Mariola Way
Scottsdale, AZ
85262-3203
furlow#

Jack Abrams
#2 Fran Avenue
Trenton, NJ 08638-1402
Kippenbach#

Mathew Abrams
Accetra Art Ltd.
240 Madison Avenue
Grdn City Pk, NY 11040
Misc#

the last line with the # is there artist prefrence. Ant way because this
list came from a word perfect 5.1 label list i had to convert it and do all 
kind of wierd stuff with perl to get it where it is now. However
when i do

foreach $arry (@array){
        print "$array\n";
}

i get that

$array[0] =  Dr. Stephen Abel
             5 Ellen Court
             Orinda, CA 94563
             Deanmail#

$array[1] = William J (Jr.) Abraham
11137 E Mariola Way
Scottsdale, AZ
85262-3203
furlow#





_________________________________________________________________
MSN Photos is the easiest way to share and print your photos: 
http://photos.msn.com/support/worldwide.aspx




More information about the LUG mailing list