sub list { join(" and ", reverse grep defined && length, pop @_, join(", ", @ +_)) }
Makeshifts last the longest.
In reply to Re^2: Format a list with commas and
by Aristotle
in thread Format a list with commas and "and"
by merlyn
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |