in reply to Possible to use variable in printf statement?

See the printfdocs for the use '*' in a format specifier:

[0] Perl> printf "%*s\n", $_, 'hello' for 10 .. 20;; hello hello hello hello hello hello hello hello hello hello hello

Examine what is said, not who speaks -- Silence betokens consent -- Love the truth but pardon error.
"Science is about questioning the status quo. Questioning authority".
In the absence of evidence, opinion is indistinguishable from prejudice.