TCLUG Archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
perl and text-delim database
I've got I think a simple perl question:
I've got a mailing list in a text-delim format:
name1<tab>address1<tab>stuff1
name2<tab>address2<tab>stuff2
...
How can I get that into an array or something in perl, so I can control
each field?
Right now I have
open(list, "file"){
@list = <list>
but I don't know how to manipulate each field in a row
ex:
print (@list[1]);
prints the 2nd line, but how I can print out the 2nd field of the second
line?
Any links to good web-sites with tutorials would be great.
Thanks,
Ben