Skip to content

Commit

Permalink
Browse files Browse the repository at this point in the history
sprintf examples
  • Loading branch information
szabgab committed Mar 17, 2013
1 parent ba2960a commit f4d12f3
Showing 1 changed file with 6 additions and 0 deletions.
6 changes: 6 additions & 0 deletions lib/Str.pod
Expand Up @@ -330,6 +330,12 @@ Examples:
sprintf "%ld a big number, %lld a bigger number\n", 4294967295, 4294967296;
Special case: sprintf("<b>%s</b>\n", "Perl 6") will not work use either of the following:
sprintf Q:b "<b>%s</b>\n", "Perl 6";
sprintf "<b>\%s</b>\n", "Perl 6";
sprintf "<b>%s\</b>\n", "Perl 6";
=head2 subst
multi method subst(Str:D: $matcher, $replacement, *%opts)
Expand Down

0 comments on commit f4d12f3

Please sign in to comment.