in reply to Looped around my neck (help with my poor little loops!)
The loop in &guessing is not really a loop at all. It will either exit (bad form to exit from a subroutine) or execute the last statement on the first pass. I think that while really wants to be an if.
--- print map { my ($m)=1<<hex($_)&11?' ':''; $m.=substr('AHJPacehklnorstu',hex($_),1) } split //,'2fde0abe76c36c914586c';
In Section
Seekers of Perl Wisdom