Subject: | Add number of elements in the list into string options |
Would be nice to have the ability to do, say, this:
to_human_string("There {is|are} |NUM| elements in the list. Here they are: |list|\n", 1, 2, 3),
And possible output would be:
"There are 3 elements in the list. Here they are: 1, 2, and 3\n"
--
Cheers,
ZZ [ https://metacpan.org/author/ZOFFIX ]