P06 - Find out whether a list is a palindrome.

Author: Ryan Connelly

Example

> say palindromic();
False
> say palindromic();
True

Source code: P06-topo.pl

use v6;

sub palindromic(@list)
{
    @list ~~ @list.reverse;
}

say palindromic();
say palindromic();