| 1 | # | ||
| 2 | # This file is part of Dist-Zilla-PluginBundle-RSRCHBOY | ||
| 3 | # | ||
| 4 | # This software is Copyright (c) 2026 by Chris Weyl. | ||
| 5 | # | ||
| 6 | # This is free software, licensed under: | ||
| 7 | # | ||
| 8 | # The GNU Lesser General Public License, Version 2.1, February 1999 | ||
| 9 | # | ||
| 10 | package Pod::Weaver::Section::RSRCHBOY::RoleParameters; | ||
| 11 | 1 | our $AUTHORITY = 'cpan:RSRCHBOY'; | |
| 12 | 1 | $Pod::Weaver::Section::RSRCHBOY::RoleParameters::VERSION = '0.080'; | |
| 13 | # ABSTRACT: Prefaced role parameters section | ||
| 14 | |||
| 15 | 1 | ▶ | use Moose; |
|
Subroutine
BEGIN: called CC=1 SCAR=0.0
| |||
| 16 | 1 | ▶ | use namespace::autoclean; |
|
Subroutine
BEGIN: called CC=1 SCAR=0.0
| |||
| 17 | 1 | ▶ | use autobox::Core; |
|
Subroutine
BEGIN: called CC=1 SCAR=0.0
| |||
| 18 | 1 | ▶ | use MooseX::NewDefaults; |
|
Subroutine
BEGIN: called CC=1 SCAR=0.0
| |||
| 19 | |||
| 20 | 1 | extends 'Pod::Weaver::SectionBase::CollectWithIntro'; | |
| 21 | |||
| 22 | 1 | default_for command => 'roleparam'; | |
| 23 | |||
| 24 | 1 | default_for content => [ | |
| 25 | 'Parameterized roles accept parameters that influence their', | ||
| 26 | 'construction. This role accepts the following parameters.', | ||
| 27 | ]->join(q{ }); | ||
| 28 | |||
| 29 | 1 | __PACKAGE__->meta->make_immutable; | |
| 30 | 1 | !!42; | |
| 31 | |||
| 32 | __END__ | ||