markjugg has asked for the wisdom of the Perl Monks concerning the following question:
Hello,
I'm looking for a module recommendation for the task of a spelling out a list as if it were an English phrase. It would compute the following, given phases of "a", "b" and "c:
..and so forth. It wouldn't be so hard to write such a function, but it seems likely to already exist. Thanks!a -> "a" a,b -> "a and b" a,b,c -> "a, b, and c" a,b,c,d -> "a, b, c, and d"
Back to
Seekers of Perl Wisdom