sub PRINT { printf("\n\t\t%-10s %-10s %-10s\n",'UAS','LCV','DM'); while(@UAS || @LCV || @DM) { printf("\t\t%-10s %-10s %-10s\n", shift(@UAS) || '', shift(@LCV) || '', shift(@DM) || '', ); } }