http://qs1969.pair.com?node_id=706786

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:

a -> "a" a,b -> "a and b" a,b,c -> "a, b, and c" a,b,c,d -> "a, b, c, and d"
..and so forth. It wouldn't be so hard to write such a function, but it seems likely to already exist. Thanks!