in reply to
Working with COM objects
You might try:
$tool->{Data} = $data;
[download]
Comment on
Re: Working with COM objects
Download
Code
In Section
Seekers of Perl Wisdom