Tue, 10 Nov 2026 17:18:18 UTC Log in
Reduce one's dependency on NEXT 49.19 KB built 2026-10-16 17:23:39 GMT

Description

NEXT was a good solution a few years ago, but isn't any more. It's slow, and the order in which it re-dispatches methods appears random at times. It also encourages bad programming practices, as you end up with code to redispatch methods when all you really wanted to do was run some code before or after a method fired. However, if you have a large application, then weaning yourself off 'NEXT' isn't easy.This module is intended as a drop-in replacement for NEXT, supporting the same interface, but using Class::C3 to do the hard work. You can then write new code without 'NEXT', and migrate individual source files to use 'Class::C3' or method modifiers as appropriate, at whatever pace you're comfortable with.

Dependencies

18 total
Requires17
  • make
  • perl(ExtUtils::MakeMaker) >= 6.76
  • perl(File::Spec)
  • perl(List::Util) >= 1.33
  • perl(MRO::Compat)
  • perl(NEXT)
  • perl(Test::Exception) >= 0.27
  • perl(Test::More)
  • perl(base)
  • perl(lib)
  • perl(strict)
  • perl(warnings)
  • perl(warnings::register)
  • perl-generators
  • perl-interpreter
  • rpmlib(CompressedFileNames) <= 3.0.4-1
  • rpmlib(FileDigests) <= 4.6.0-1
Provides1
  • perl-Class-C3-Adopt-NEXT = 0.14-32.fc45
ObsoletesNo Obsoletes
ConflictsNo Conflicts
RecommendsNo Recommends
SuggestsNo Suggests
SupplementsNo Supplements
EnhancesNo Enhances

Files

2
Files 1–2 of 2

Component of

buildroots that installed this RPM

No Buildroots