I have a template that needs to use perl to store values in an array and after collecting all the values output them all at once. I think I'm almost there except I can't get the iwpt_dcr_value to out put anything other than (eval TeamSite:

CRparser:

erl_name(x.FAQQuestion)).
<iw_perl>
<
CRparser;
my $counter = 0;
my $defined = 0;
my
@Question;
my
@Answer;
]]>
</iw_perl>
<iw_iterate list='dcr.ComputingServices.servicedetails.*' var='x' iteration="count">
<iw_ifcase name='x' iw_ifcase_type="tag">
<iw_case type='FAQ'>
<iw_perl>
<![CDATA[
$Question[$counter] = "iwpt_dcr_value('x.FAQQuestion')";
my $test = "iwpt_dcr_value('x.FAQQuestion')";
iwpt_output("$counter");
iwpt_output("$Question[$counter]");
iwpt_output("$test");
Both test and Question[counter] output the (eval TeamSite:

CRparser:

erl_name(x.FAQQuestion)). Thanks in advance for the help.