note kennethk <p>The error <c>Global symbol "@hangman" requires explicit package name...</c> means that whatever code you are <em>actually</em> running is using [doc://strict] but does not declare <c>@hangman</c>, perhaps via [doc://my] or [doc://our]. You can use [doc://diagnostics] if you need more clarity on an error message. See [id://87628]. [id://745674] wouldn't hurt either. <p>Seeing as your demo code does not emit any errors and there is no such mention in the "along the lines of" code, you need to post the code you are actually running, so we can provide guidance. Your posted code is grossly in line with what you need to do, though my [doc://open] would likely look more like <c>open my $fh, '<', 'words.txt' or die "Open fail on words.txt: $!\n"</c>; <!-- Node text goes above. Div tags should contain sig only --> <div class="pmsig"><div class="pmsig-712372"> <hr /> <p>#11929 First ask yourself `How would I do this without a computer?' Then have the computer do it the same way.</p> </div></div> 1007164 1007164