Sat, 21 Nov 2026 00:03:18 UTC Log in
An abstract Mouse role for setting attributes from a config file 13.23 KB built 2026-10-16 22:40:03 GMT

Description

This is an abstract role that provides an alternate constructor for creating objects using parameters passed in from a configuration file. The actual implementation of reading the configuration file is left to concrete sub-roles. It declares an attribute configfile and a class method new_with_config, and requires that concrete roles derived from it implement the class method get_config_from_file. Attributes specified directly as arguments to new_with_config supersede those in the configfile.

Dependencies

11 total
Requires9
  • perl(:VERSION) >= 5.8.0
  • perl(Mouse) >= 0.39
  • perl(Mouse::Role)
  • perl(MouseX::Types::Path::Class)
  • perl-libs
  • rpmlib(CompressedFileNames) <= 3.0.4-1
  • rpmlib(FileDigests) <= 4.6.0-1
  • rpmlib(PayloadFilesHavePrefix) <= 4.0-1
  • rpmlib(PayloadIsZstd) <= 5.4.18-1
Provides2
  • perl(MouseX::ConfigFromFile) = 0.05
  • perl-MouseX-ConfigFromFile = 0.05-38.fc45
ObsoletesNo Obsoletes
ConflictsNo Conflicts
RecommendsNo Recommends
SuggestsNo Suggests
SupplementsNo Supplements
EnhancesNo Enhances

Files

6
Files 1–6 of 6

Component of

buildroots that installed this RPM

No Buildroots