There's more than one way to do things | |
PerlMonks |
Re^3: Reading subkeys from registry -- evil registry redirection?by Discipulus (Canon) |
on Nov 16, 2015 at 08:45 UTC ( [id://1147787]=note: print w/replies, xml ) | Need Help?? |
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.
HtH L* UPDATE: i was wrong (thanks Corion!) the docs are right: 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.
In Section
Seekers of Perl Wisdom
|
|