what do you mean with
The used flags have little different background?
Also note that
Here I didn't get undef values, but empty results is not so true: if you put null values as hashref's keys and then you look for the number of keys, ie zero.
If your last sentence is a question, yes i'm using strwaberryperl.
As you understand the redirection, testing on 2008 OS you'll see that Perl 64bit always see it's own part of the registry (18 keys in this example) while 32Bit Perl see the 32bit part with
KEY_READ() and the 64bit using the special flag
0x20019|0x0100.
Thus confirm that official docs are wrong. See below:
###64bit Perl
Perl MSWin32-x64-multi-thread
access: 0x20019|0x0100
Number of subkeys found: 18
Perl MSWin32-x64-multi-thread
access: KEY_READ()
Number of subkeys found: 18
###32bit Perl
Perl MSWin32-x86-multi-thread
access: 0x20019|0x0100
Number of subkeys found: 18
Perl MSWin32-x86-multi-thread
access: KEY_READ()
Number of subkeys found: 21
HtH
L*
UPDATE: i was wrong (thanks
Corion!) the docs are right:
KEY_WOW64_32KEY (0x0200)
Indicates that an application on 64-bit Windows should operate on the
+32-bit registry view.
KEY_WOW64_64KEY (0x0100)
Indicates that an application on 64-bit Windows should operate on the
+64-bit registry view.
So the beahvior observed is rigtly documented.
L*
There are no rules, there are no thumbs..
Reinvent the wheel, then learn The Wheel; may be one day you reinvent one of THE WHEELS.
Posts are HTML formatted. Put <p> </p> tags around your paragraphs. Put <code> </code> tags around your code and data!
Titles consisting of a single word are discouraged, and in most cases are disallowed outright.
Read Where should I post X? if you're not absolutely sure you're posting in the right place.
Please read these before you post! —
Posts may use any of the Perl Monks Approved HTML tags:
- a, abbr, b, big, blockquote, br, caption, center, col, colgroup, dd, del, details, div, dl, dt, em, font, h1, h2, h3, h4, h5, h6, hr, i, ins, li, ol, p, pre, readmore, small, span, spoiler, strike, strong, sub, summary, sup, table, tbody, td, tfoot, th, thead, tr, tt, u, ul, wbr
You may need to use entities for some characters, as follows. (Exception: Within code tags, you can put the characters literally.)
| |
For: |
|
Use: |
| & | | & |
| < | | < |
| > | | > |
| [ | | [ |
| ] | | ] |
Link using PerlMonks shortcuts! What shortcuts can I use for linking?
See Writeup Formatting Tips and other pages linked from there for more info.