Dist::Zilla::Stash::Contributors::Contributor - a Contributors stash element
version 0.1.1
if( my $contrib_stash = $self->zilla->stash_named('%Contributors') ) { my @collaborators = sort { $a->email cmp $b->email } $contrib_stash->all_contributors; $self->log( "contributor: " . $_->stringify ) for @collaborators; }
Collaborator objects used in the Dist::Zilla::Stash::Contributors stash.
Creates a new Dist::Zilla::Stash::Contributors::Contributor object.
Dist::Zilla::Stash::Contributors::Contributor
Returns the name of the contributor.
Returns the email address of the contributor.
Returns the canonical string for the collaborator, of the form "Full Name <email@address.org>".
The object will automatically call this function is used as a string.
say $_ for $stash->all_contributors;
Yanick Champoux <yanick@cpan.org>
This software is copyright (c) 2019, 2013 by Yanick Champoux.
This is free software; you can redistribute it and/or modify it under the same terms as the Perl 5 programming language system itself.
To install Dist::Zilla::Stash::Contributors, copy and paste the appropriate command in to your terminal.
cpanm
cpanm Dist::Zilla::Stash::Contributors
CPAN shell
perl -MCPAN -e shell install Dist::Zilla::Stash::Contributors
For more information on module installation, please visit the detailed CPAN module installation guide.