The London Perl and Raku Workshop takes place on 26th Oct 2024. If your company depends on Perl, please consider sponsoring and/or attending.
#!./perl

BEGIN { require "./test.pl" }

plan tests => 2;

my @a = @('aap', 'noot', 'mies', 'teun');

is( join('**', @a[[0..2]]), 'aap**noot**mies' );
is( join('**', @a[[2..5]]), 'mies**teun****' );