Hi,
This is the code iam running through external task in work flow:
#!/usr/bin/perl
use Data:

umper;
use XML:

imple;
my $fh="C:/iw-home/file.txt";
open OUT, ">>$fh" or die "Cannot open $fh for write :$!";
print OUT "1\n";
$obj = new XML:

imple;
print OUT "2\n";
$struct=$obj->XMLin(".\doc.xml");
print OUT "3\n";
print OUT Dumper($struct);
The command input for external task is: C:\iw-home\iw-perl\bin\perl C:\iw-home\WFScripts\xml.pl
After running this when i open file.txt, the file contains 1 and 2, by this way iam finding problem in : $struct=$obj->XMLin(".\doc.xml");
this line:
Any help to execute this script so that output of Dumper($struct) should be written to the file.txt.
You can use any XML file for this instead of doc.xml.
Thankful for any help.