I've been attempting to get the statement below to work without much success.
The 'onreadystatechange' is documented as being a reference to an event handler
function.
$xmlDOC->{onreadystatechange} = &$subREF;
When the script below is executed, the following output is generated. I've tried
annoymous sub too.
If anyone could push me into the right direction to solve the problem, I be very
grateful.
Thanks, Craig
= output generated
COMPLETED
Win32::OLE(0.1502) error 0x80020005: "Type mismatch"
in PROPERTYPUT "onreadystatechange" at
C:\Utopia\scripts\perl\msxml40_dev\589x\chapter02\async_test.pl line 15
=== end of output
_______________________________________________
Perl-Win32-Admin mailing list
[EMAIL PROTECTED]
To unsubscribe: http://listserv.ActiveState.com/mailman/mysubs