perl6 -I. -e "use WinReg :WinReadRegKey; say WinReadRegKey(
HKEY_LOCAL_MACHINE,
Q[SOFTWARE\Microsoft\Windows\CurrentVersion\Policies\system],
Q[EnableLUA] );"
===SORRY!=== Error while compiling K:\Windows\NtUtil\WinReg.pm6 (WinReg)
Unable to parse expression in argument list; couldn't find final ')'
(corresponding starter was at line 178) at K:\Windows\NtUtil\WinReg.pm6
(WinReg):178
------> eName, DWORD, REG_SZ, $lpData, $lpcbData<HERE> is rw );
expecting any of:
infix
infix stopper
"final ')' " is a bad error. The actual error is that NativeCall does
not like the "is rw". Please fix.
Many thanks,
-T