rumpumpel1 has asked for the wisdom of the Perl Monks concerning the following question:

Hi all, I'm using a perl script to generate an MSProject schedule using the Win32::OLE module. For some tasks I need to set the "%Work Complete" to 100%. Whatever I tried, it did not work out as expected. This is what I tried so far:
$task->{"%WorkComplete"} = "100"; $task->{"%WorkComplete"} = 100; $task->{"%Work Complete"} = "100"; $task->{"%Work Complete"} = 100;
and some other combinations as well. In the resulting schedule this field is always 0.

Any help greatly appreciated.

edit: I found the solution:

$task->{"PercentWorkComplete"} = "100";