in reply to Using sprintf

Function calls use round parenthesis in Perl, so just write sprintf(...) instead of sprintf{...}.

See also perlsyn.