in reply to Possible to use variable in printf statement?
my $v = 20; printf "%${v}s", 'foo'; [download]