| 1 | package Fey::Role::Named; | ||
| 2 | |||
| 3 | 26 | ▶ | use strict; |
|
Subroutine
BEGIN: called CC=1 SCAR=0.0
| |||
| 4 | 26 | ▶ | use warnings; |
|
Subroutine
BEGIN: called CC=1 SCAR=0.0
| |||
| 5 | 26 | ▶ | use namespace::autoclean; |
|
Subroutine
BEGIN: called CC=1 SCAR=0.0
| |||
| 6 | |||
| 7 | 26 | our $VERSION = '0.43'; | |
| 8 | |||
| 9 | 26 | ▶ | use Moose::Role; |
|
Subroutine
BEGIN: called CC=1 SCAR=0.0
| |||
| 10 | |||
| 11 | 26 | requires 'name'; | |
| 12 | |||
| 13 | 26 | 1; | |
| 14 | |||
| 15 | # ABSTRACT: A role for things with a name | ||
| 16 | |||
| 17 | __END__ | ||
| 18 | |||
| 19 | =pod | ||
| 20 | |||
| 21 | =head1 NAME | ||
| 22 | |||
| 23 | Fey::Role::Named - A role for things with a name | ||
| 24 | |||
| 25 | =head1 VERSION | ||
| 26 | |||
| 27 | version 0.43 | ||
| 28 | |||
| 29 | =head1 SYNOPSIS | ||
| 30 | |||
| 31 | use Moose 2.1200; | ||
| 32 | |||
| 33 | with 'Fey::Role::Named'; | ||
| 34 | |||
| 35 | =head1 DESCRIPTION | ||
| 36 | |||
| 37 | This role has no methods or attributes of its own, it simply requires | ||
| 38 | that the consuming class provide a C<name()> method. | ||
| 39 | |||
| 40 | =head1 BUGS | ||
| 41 | |||
| 42 | See L<Fey> for details on how to report bugs. | ||
| 43 | |||
| 44 | =head1 AUTHOR | ||
| 45 | |||
| 46 | Dave Rolsky <autarch@urth.org> | ||
| 47 | |||
| 48 | =head1 COPYRIGHT AND LICENSE | ||
| 49 | |||
| 50 | This software is Copyright (c) 2011 - 2015 by Dave Rolsky. | ||
| 51 | |||
| 52 | This is free software, licensed under: | ||
| 53 | |||
| 54 | The Artistic License 2.0 (GPL Compatible) | ||
| 55 | |||
| 56 | =cut | ||