in reply to Printf Question

You want spacing like printf without the line break? Just omit the "\n".

if (...some are missing...) { printf("Missing %d element , current list : ", $missing_count); printf("%-9s", $_) foreach (@list); print("\n"); }