On Fri, Nov 28, 2014 at 9:40 AM, Brandon McCaig <bamcc...@gmail.com> wrote: > # Protip: I'm not sure which is better, interpolating $status > # into the format string, or passing it as an argument. I'm > # sure it's negligible in this case. > printf "<%-60s> $status\n", $abs_path;
I lied. To be safe $status should absolutely be a parameter just in case it contains patterns that look like format string placeholders. printf "<%-60s> %s\n", $abs_path, $status; Regards, -- Brandon McCaig <bamcc...@gmail.com> <bamcc...@castopulence.org> Castopulence Software <https://www.castopulence.org/> Blog <http://www.bambams.ca/> perl -E '$_=q{V zrna gur orfg jvgu jung V fnl. }. q{Vg qbrfa'\''g nyjnlf fbhaq gung jnl.}; tr/A-Ma-mN-Zn-z/N-Zn-zA-Ma-m/;say' -- To unsubscribe, e-mail: beginners-unsubscr...@perl.org For additional commands, e-mail: beginners-h...@perl.org http://learn.perl.org/