I am new to PERL and am trying to pull values out of an iteration in my presentation template, and then sum them together. I have attached my DCR & IPL. Any advice would be much appreciated.
I was told I did not need to instantiate $amount or $forecast because it was enclosed in CDATA. I am still trying different things because of my inexperience with PERL. I thought that if I pulled out w.col_2_data of each iteration and assigned it to $forecast as a += it would sum, then output the sum in the following line. But it is only outputing '0', which leads me to believe my w.col_2_data variable has no value assigned to it.