in reply to Re^2: how do I use Win32::TieRegistry in a multi-platform program?
in thread how do I use Win32::TieRegistry in a multi-platform program?

I don't know how many monks already asked SD to prove his alleged expertise (20? 50? ), but I did a reproducible research of his code contributions in the last 1000 posts since 2014.

So I'm afraid you are going to be disappointed, too.

update

Revisiting the node I just randomly (!) picked one of his posts

Please note the // for commenting and the variables inside qw//

my $found = 1; my $cursor = $hashref; for my $key ( qw/$key1 $key2 $key3/ ) { if (exists( $cursor->{$key} ) { $cursor = $cursor->{$key}; } else { $found = 0; last; // NOT FOUND - QUIT LOOKING NOW } } . . . if ($found) { // $cursor REFERS TO THE ELEMENT THAT WAS FOUND ... }
This "code" looks a lot like from a retired PHP programmer who knows Perl only from cut and pasting.

Cheers Rolf
(addicted to the Perl Programming Language and ☆☆☆☆ :)
Wikisyntax for the Monastery