in reply to Re: Formatting in Perl
in thread Formatting in Perl

You don't need to escape the [ ]. If you want to use a name for the plural suffix $s is quite readable and self documenting :-)

print "[$days] day$s = [$secs] seconds.\n";