--- CBOR-XS/XS.pm 2020/12/04 02:57:14 1.77 +++ CBOR-XS/XS.pm 2020/12/11 06:03:40 1.79 @@ -66,7 +66,7 @@ use common::sense; -our $VERSION = 1.82; +our $VERSION = 1.83; our @ISA = qw(Exporter); our @EXPORT = qw(encode_cbor decode_cbor); @@ -714,7 +714,8 @@ copy of the value and returns a new value that can be handed over to any CBOR encoder function. -The following casts are currently available (all of which are unary operators): +The following casts are currently available (all of which are unary +operators, that is, have a prototype of C<$>): =over @@ -794,7 +795,7 @@ sub CBOR::XS::as_map ($) { ARRAY:: eq ref $_[0] and $#{ $_[0] } & 1 - or do { require Carp; Carp::croak ("CBOR::XS::as_map only acepts array references with an even number of elements, found ") }; + or do { require Carp; Carp::croak ("CBOR::XS::as_map only acepts array references with an even number of elements, caught") }; bless [$_[0], 7, undef], CBOR::XS::Tagged:: }