Hi
Could anyone check as whats wrong in the attached code, where i am trying to extract the workarea information within a text field through inline.
Thanks.
{inline command="/apps/iw-home/iw-perl/bin/iwperl /apps/iw-home/local/bin/inlineWkarea.ipl"/}
my $workArea;
foreach my $key (keys %ENV)
{
if ($key eq "IW_WORKAREA")
{
$workArea = $ENV{$key};
}
}
#$workArea =~ m/(.*)default\/main\/(.*)\/(.*)\/WORKAREA\/(.*)/;
print "{?xml version=\"1.0\" encoding=\"UTF-8\"?}";
print "{substitution}";
print "myself";
print "{/substitution}";
exit;
** HTML tags have been wrapped within {} braces.