Sorry for the confusion, it seemed like everyone was close answering but I'm not sure. Currently the data looks like:
GSF : "495,916"
Electricity RenElec Demand Steam Gas RenGas Oil Coal Chill. Wtr
(KWH) (KWH) (KW) (MLB) (Cubic Ft) (Cubic Ft) (Gallon) (Ton) (Ton Hr)
Oct Usage "316,800 A" 0 0 0 "375,487 A" 0 0 0 0
Cost "$53,671 A" $0 $0 $0 "$5,799 A" $0 $0 $0 $0
Nov Usage "331,200 A" 0 0 0 "719,832 N" 0 0 0 0
Cost "$35,511 N" $0 $0 $0 "$11,542 N" $0 $0 $0 $0
I currently am lacking a code other than what I would use to rearrange variables and load to MySQL. I want Perl to take the line of Cost which is associated with the Month of Usage above it. Is there any way Perl can read both lines at a time to allow me to play with the variables?