12345678
my $name = 'blablabla';my $sender = sprintf('Piero <%s@imap>', $name);print "$sender\n";# Ausgabe:#Piero <blablabla@imap>