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) || '', ); } } #### UAS LCV DM 8 0 8 0 8 0 9 0 9 0 9 0 10 0 10 0 10 0 11 0 11 0 11 0 12 86400 12 0 12 0 13 0 13 0 13 0 14 0 14 0 14 0 15 0 15 0 15 0 #### UAS LCV DM 8 0 8 0 8 0 9 0 9 0 9 0 10 0 10 0 10 0 11 0 11 0 11 0 12 86400 12 0 12 0 13 0 13 0 13 0 14 0 14 0 14 0 15 0 15 0 15 0