aboutsummaryrefslogtreecommitdiff
path: root/challenge-081/juliodcs/perl/ch-1.pl
blob: 199408a21f6afacf0ca76ff1409cb4216fb8f3f0 (plain)
1
2
3
4
5
6
use strict;
use warnings;
use feature 'say';
use List::MoreUtils 'uniq';

say for uniq map { /^(.+)\1+$/; $1 // () } @ARGV;