### ----------------------------------------------------
### -- Text::Utils
### -- Licenses: Artistic-2.0
### -- Authors: Tom Browder <tbrowder@acm.org>
### -- File: dev/test2.t
### ----------------------------------------------------
use lib <../lib>;
use Text::Utils :list2text;

my $optional-comma = @*ARGS.elems ?? 0 !! 1;
my @list = <1 2 3 4 5>;

my $s = list2text @list, :$optional-comma;
say $s;


