The Perl Toolchain Summit needs more sponsors. If your company depends on Perl, please support this very important event.
use Test::More;
use strict; use warnings FATAL => 'all';

use List::Objects::WithUtils 'array';

ok array->join eq '', 'empty array join ok';

my $arr = array(1 .. 3);
cmp_ok $arr->join,      'eq', '1,2,3', 'join without params ok';
cmp_ok $arr->join('-'), 'eq', '1-2-3', 'join with params ok';
cmp_ok $arr->join(''),  'eq', '123',   'join with empty string ok';

done_testing;