$tutor->assignement( question => "Create an array with 5 elements and fill it with first 5 letters of the English alphabet.\n". "Then remove the first and last one elements using two perl list operator.\n". "Join these two removed elements and assign the result to a scalar named \$result\n". "Both the array and the scalar have to be lexically scoped.\n", file => 'array_ex_03.pl', initial_content => '#nothing atm. strict and warnings and other content more on', hints => [ 'declare viariables using "my"', 'see shift and pop documentation' ], documentation => [ 'https://perldoc.perl.org/5.30.0/functions/my.html', 'https://perldoc.perl.org/perlfunc.html#Perl-Functions-by-Category', 'https://perldoc.perl.org/5.30.0/functions/shift.html', 'https://perldoc.perl.org/5.30.0/functions/pop.html', ], solution => 'some text to provide when the task is succesfully completed and to add as comment to the resulting script', tests => \@basics_tests, \@tests, );