Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Examples for sprintf use OUTPUT instead of RESULT #1521

Closed
AlexDaniel opened this issue Sep 3, 2017 · 0 comments
Closed

Examples for sprintf use OUTPUT instead of RESULT #1521

AlexDaniel opened this issue Sep 3, 2017 · 0 comments
Labels
docs Documentation issue (primary issue type) good first issue If you want to dive in, this would be a good place to start

Comments

@AlexDaniel
Copy link
Member

https://docs.perl6.org/type/Str#sub_sprintf

For example:

sprintf '%2$d %1$d', 12, 34;      # OUTPUT: «34 12␤» 

In reality, there's no output. Use RESULT: instead.

@AlexDaniel AlexDaniel added docs Documentation issue (primary issue type) LHF labels Sep 3, 2017
@rafaelschipiura rafaelschipiura self-assigned this Sep 3, 2017
@coke coke added good first issue If you want to dive in, this would be a good place to start and removed LHF labels Apr 9, 2018
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
docs Documentation issue (primary issue type) good first issue If you want to dive in, this would be a good place to start
Projects
None yet
Development

No branches or pull requests

3 participants