On Fri, Nov 28, 2014 at 9:40 AM, Brandon McCaig <[email protected]> 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 <[email protected]> <[email protected]>
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: [email protected]
For additional commands, e-mail: [email protected]
http://learn.perl.org/


Reply via email to