Pls check the following code and let me knw the mistakesopen (LOG, '>>C:\WFlog.txt') or die ;my $comments=????->GetComments(\@list);print LOG ("\n hiiiiii ");print LOG ("\n $comments ");close (LOG);$task->CallBack(0,"Comments given");
GetComments(\@list) Gets the comments for the task. The result is an array of hash refs, where each hash has keys of 'date', 'task', 'user', and 'body'.