in reply to Split into an array

split wants a scalar but grep provides a list. If you know you're only going to get one matching line back, try this.

my @job_autorep= split /\s+/, (grep {/$job_name/},`autorep -j $job_nam +e`)[0];
--- print map { my ($m)=1<<hex($_)&11?' ':''; $m.=substr('AHJPacehklnorstu',hex($_),1) } split //,'2fde0abe76c36c914586c';