The London Perl and Raku Workshop takes place on 26th Oct 2024. If your company depends on Perl, please consider sponsoring and/or attending.

Changes for version 1.87

  • shared references were not decoded correctly: instead of getting multiple references to the same object, you got the same reference to the same object, causing a number of issues. For example, modifying the reference would modify all places the reference was used, and encoding the decoded structure would unshare the previously shared hashes, as trheir reference count would be 1. Fixing this was rather involved, as perl lacks the ability to easily swap or copy arrays and hashes.
  • \0, \1, \undef do not work, and were not intended to ever work, as special values, despite being mentioned in the documentation (reported by nuclightq).
  • new feature: allow_weak_cycles.

Modules

Concise Binary Object Representation (CBOR, RFC7049)