I am trying to load all the dcrs in a directory (probably around 10) and output some of the data. The process seems to hang, not sure why. Below is the perl that I am using in the PT. I started with the safari code that is used in the IWOV classes. Any help is appreciated.
Thanks
Matt
<!--ARTICLES-->
]]>
<iw_perl><![CDATA[
$dir = "y:/default/main/safari/WORKAREA/work/templatedata/safari/news/data/";
opendir(DIR, $dir);
@f = readdir(DIR);
closedir(DIR);
foreach $x (
@f) {
iwpt_output("file name = $x \n")
]]>
<iw_load_dcr var='y' file='$dir$x'/>
<iw_value name='y.Story'/>
<![CDATA[
}
]]></iw_perl><![CDATA[
</div>
<!--end Articles-->
Matthew Petitjean
BOC Group
Murray Hill, NJ 07974 USA