The stupid question is the question not asked | |
PerlMonks |
comment on |
( [id://3333]=superdoc: print w/replies, xml ) | Need Help?? |
G'day Marshall, I added strict and warnings: both missing from your code. I also show assignments to %master_letter_freq and @result: also missing from your code. The remainder is a verbatim copy of the code you posted.
Here's the output:
Please run that code, exactly as is, and report the output. If you still see "whew" in the output, then there's potentially a bug in Perl. I'm using 5.32.0. What are you using? Post an SSCCE so we can investigate. If you don't see "whew" in the output, then either the code you're running is not the code you posted, or there's something else going on in the code before this that you haven't shown. Add code to query every variable before and/or after it changes. For instance, with Data::Dump:
Note the pipe characters (|$_|) that may help to identify whitespace or control characters that aren't readily visible. If that doesn't help, try (platform-dependent):
That's something of a last resort, but it may show up something if all else has failed to identify the problem. — Ken In reply to Re: Next from inner loop only works "most of the time"
by kcott
|
|