Help for this page
substr "000$num", -3
use strict; use Benchmark qw(cmpthese); ... concat 244047/s -- -10% -36% sprintf 269956/s 11% -- -29% substr 381628/s 56% 41% --