Perl script to print out cars model and car color
Posted
by Gary Liggons
on Stack Overflow
See other posts from Stack Overflow
or by Gary Liggons
Published on 2010-06-15T21:10:49Z
Indexed on
2010/06/15
21:12 UTC
Read the original article
Hit count: 299
perl
I am tying to create a perl script to printout car models and colors, and the data is below. I want to know if there is anyway to make the car model heading a field so that I can print it any time I want to? the data below is a csv file. the way I want the data to look on a report is below as well
This is how the data looks* Chevy blue,1978,Washington brown,1989,Dallas black,2001,Queens white,2003,Manhattan
Toyota red,2003,Bronx green,2004,Queens brown,2002,Brooklyn black,1999,Harlem
****This is how I am trying to get the data to look in a report****
Car Model:Toyota
Color:Red Year:2002 City: Queens
© Stack Overflow or respective owner