in reply to Format question

Look into using printf.

printf "Customer Name: %-24s Number of Books checked out: % 2d\n", @it +ems[0,5];