sub signature { my $arrayref = shift; # the examples imply that the inputs are integers # if not, use a different character to join them return join '.', @$arrayref; }