use strict; use warnings; my $fmt = "%-$print_size" . "s"; printf("$fmt","$_");