The "get magic" on $^E is simply GetLastError() along with building a string out of the number returned.
But there is a problem with XS modules not arranging for $^E to be set, but that is because several XS modules use API(s) that return a failure code and the XS code fails to call SetLastError(), which means that calling Win32::GetLastError() doesn't get around such problems anyway.
- tye
In reply to Re^4: Windows Device Tree ($^E)
by tye
in thread Windows Device Tree
by jschollen
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |