Sub::HandlesVia::Toolkit(3pm)

Sub::HandlesVia::Toolkit3pm

Integration with oo frameworks for sub::handlesvia

Overview

This module is part of Sub::HandlesVia's internal API. It is mostly of interest to people extending Sub::HandlesVia.

Detect what subclass of Sub::HandlesVia::Toolkit is suitable for a class:

  my $toolkit = Sub::HandlesVia->detect_toolkit($class);

Extract handles_via information from a "has" attribute spec hash:

  my $shvdata = $toolkit->clean_spec($class, $attrname, \%spec);

This not only returns the data that Sub::HandlesVia needs, it also cleans %spec so that it can be passed to a Moose-like "has" function without it complaining about unrecognized options.

  $toolkit->install_delegations($shvdata) if $shvdata;

Disclaimer of warranties

THIS PACKAGE IS PROVIDED "AS IS" AND WITHOUT ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, WITHOUT LIMITATION, THE IMPLIED WARRANTIES OF MERCHANTIBILITY AND FITNESS FOR A PARTICULAR PURPOSE.

Releases

4 releases since Debian 11 (Bullseye); the text changed 3 times.

  1. 11
  2. 12
  3. 13
  4. Arch

Bugs

Please report any bugs to <https://github.com/tobyink/p5-sub-handlesvia/issues>.

Author

Toby Inkster <[email protected]>.

From perl-sub-handlesvia 0.053005-1 in Arch Linux 2026-11-01. Parsed by carta from the page's man source.