my @aligned = map { sprintf "%9.2f",$_ } qw(1 1.5 2.4578 373.237); print join("\n",@aligned); #### 1.00 1.50 2.46 373.24 #### -- Joost downtime n. The period during which a system is error-free and immune from user input.
## 1.00 1.50 2.46 373.24 ##
## -- Joost downtime n. The period during which a system is error-free and immune from user input.