I ran into a problem with Perl relating to 64-bit Windows, but I didn't know it at the time I wrote the question. After one answer was posted pointing out the 64-bit issue (but not really providing a solution) I self-answered. Here's the question:
Reading from Windows registry in Perl
Later, I found a question from somebody who knew up front that the problem was 64-bit Windows (pretty much exactly the problem my own answer to my question solves) but that doesn't have any good answers using the module I want to use:
How do I make the 32-bit Perl read the 64-bit Windows registry?
(I'm pretty sure Stack Overflow was smart enough to find that question as a "related question" only after the 64-bit answers were added, but it's possible I was just not very observant of that column prior to writing my own answer).
I'm somewhat inclined to call these duplicates, since really my problem is pretty much exactly the same as the existing question. But I think my answer is the best from both questions, so I'd lean toward marking the existing question as duplicate. This seems shady to me since I provided both the new question and the new answer. But I guess which question to mark as a duplicate is subjuctive, and if I were not involved in these posts, I think I'd choose my question/answer.
On the other hand, I was completely unaware of the root cause of my problem being my 64-bit Windows vs. 32-bit Perl. Not knowing the root cause, I certainly did not find the existing question when I looked for one. Since my question was a more general "what could I be doing wrong accessing the registry from Perl?" rather than a specific "how can I access a 64-bit registry view in 32-bit Perl?" then maybe they are not duplicates after all. Since they are related (and probably share the same answer) maybe they should be merged?
How should I handle this (without looking like I'm gaming the system in some way)?