in reply to using join with a print ref statement

Are you trying to use ref as a filehandle? If so, your code is probably not being parsed the way you think it is since ref is a perl built-in function

What exactly is in $searchlist?

--- print map { my ($m)=1<<hex($_)&11?' ':''; $m.=substr('AHJPacehklnorstu',hex($_),1) } split //,'2fde0abe76c36c914586c';