> As well as looking at $!, you might also try looking at
> Win32::FormatMessage(Win32::GetLastError()), as that often gives much
> a better indication of the problem where windows processes are
> involved. (You have to 'use Win32;' to do that.)
You can use $^E instead of Win32::GetLastError(). It even magically
calls the equivalent of Win32::FormatMessage() on itself when you
use it in a string context, as in:
print $^E;
Cheers,
-Jan
_______________________________________________
Perl-Win32-Users mailing list
[email protected]
To unsubscribe: http://listserv.ActiveState.com/mailman/mysubs