Changes for version 0.000002 - 2024-06-27

  • Fixed version requirements in demos and cleaned up their source. (Thanks, Ovid)
  • Improved SYNOPSIS examples (Thanks, Ovid)
  • Improved redefinition warnings for multis and made them respond to: no warnings 'redefine'
  • Added a compiler error when a multi and a multimethod of the same name are declared in the same namespace
  • Changed: use Multi::Dispatch -noncontiguous; to: use Multi::Dispatch; no warnings 'Multi::Dispatch::noncontiguous'; for extra disaffordance ;-)
  • Removed documentation for unimplemented multisub export mechanism in anticipation of an entirely different approach (see below)...
  • Optimized error messages for single-variant multis
  • Implemented internal workaround for change in regex capture behaviour in Perl 5.38
  • Implemented :from attribute to allow multisub imports
  • Implemented :export attribute to allow multisub exports
  • Fixed handling of nameless slurpies in destructures
  • Added detection of unexpected named args in hash destructures
  • Added OBJ pseudotype as a cheap way of testing blessedness
  • Added :permute attribute
  • Added -annotate flag

Modules

Multiple dispatch for Perl subs and methods

Provides

in lib/Multi/Dispatch.pm