| 1 | package CBOR::Free::X::InvalidMapKey; | ||
| 2 | |||
| 3 | 2 | ▶ | use strict; |
|
Subroutine
BEGIN: called CC=1 SCAR=0.0
| |||
| 4 | 2 | ▶ | use warnings; |
|
Subroutine
BEGIN: called CC=1 SCAR=0.0
| |||
| 5 | |||
| 6 | 2 | ▶ | use parent qw( CBOR::Free::X::Base ); |
|
Subroutine
BEGIN: called CC=1 SCAR=0.0
| |||
| 7 | |||
| 8 | 2 | ▶ | use Text::Control (); |
|
Subroutine
BEGIN: called CC=1 SCAR=0.0
| |||
| 9 | |||
| 10 | sub _new { | ||
| 11 | 7 | ▶ | my ($class, $what, $offset) = @_; |
|
Subroutine
_new: called CC=1 SCAR=0.0
| |||
| 12 | |||
| 13 | 7 | return $class->SUPER::_new("Received CBOR $what as a map key (offset: $offset), which Perl doesn’t understand."); | |
| 14 | } | ||
| 15 | |||
| 16 | 2 | 1; | |