« Pod/Weaver/Section/RSRCHBOY/LazyAttributes.pm
↑ Summary
Pod/Weaver/Section/RSRCHBOY/RoleParameters.pm »
| 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::RequiredAttributes; | ||
| 11 | 1 | our $AUTHORITY = 'cpan:RSRCHBOY'; | |
| 12 | 1 | $Pod::Weaver::Section::RSRCHBOY::RequiredAttributes::VERSION = '0.080'; | |
| 13 | # ABSTRACT: Prefaced required attributes 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 => 'reqatt'; | |
| 23 | |||
| 24 | 1 | default_for content => [ | |
| 25 | 'These attributes are required, and must have their values supplied', | ||
| 26 | 'during object construction.', | ||
| 27 | ]->join(q{ }); | ||
| 28 | |||
| 29 | 1 | __PACKAGE__->meta->make_immutable; | |
| 30 | 1 | !!42; | |
| 31 | |||
| 32 | __END__ | ||