Perl implementation of RFC 6920