Acme-CPANAuthors-MBTI
view release on metacpan or search on metacpan
inc/expand_author_list.pm view on Meta::CPAN
my $plugin_name = $config{plugin_name} // ref $config{plugin};
my $plugin_version = $config{plugin_version} // $plugin_name->VERSION;
my @lines;
for my $author ( @{ $config{data} } ) {
my $name = encode_entities( $author->{name} );
my $title = "$author->{id} ($name), $author->{dists} distribution" . ( $author->{dists} != 1 ? 's' : '' );
push @lines,
qq{<a href="http://metacpan.org/author/$author->{id}">}
. q{<span>}
. q{<img style="margin: 0 5px 5px 0;" width="80" height="80" }
. qq{src="$author->{avatar}" alt="$author->{id}" title="$title" />}
. q{</span>} . q{</a>};
}
my $content = join( "<!--\n-->", @lines );
return <<"EOF";
<div style="text-align:center;padding:0px!important;overflow-y:hidden;
margin-left: auto; margin-right: auto; max-width: 430px">
<!-- Data inserted by inc/expand_author_list#authors_to_avatars
by $plugin_name $plugin_version -->
$content
</div>
EOF
}
sub mbti_type {
lib/Acme/CPANAuthors/MBTI/INTP.pm view on Meta::CPAN
my %hash = Acme::CPANAuthors::MBTI::INTP->authors;
=head2 category
my $scalar = Acme::CPANAuthors::MBTI::INTP->category;
=head2 avatar_url
my $url = Acme::CPANAuthors::MBTI::INTP->avatar_url('KENTNL');
=for html <div style="text-align:center;padding:0px!important;overflow-y:hidden;
margin-left: auto; margin-right: auto; max-width: 430px">
<!-- Data inserted by inc/expand_author_list#authors_to_avatars
by Dist::Zilla::Plugin::MungeFile::WithDataSection 0.009 -->
<a href="http://metacpan.org/author/KENTNL"><span><img style="margin: 0 5px 5px 0;" width="80" height="80" src="https://secure.gravatar.com/avatar/4b96677ae9ecbe76b8c33ead244f7407?s=80&d=http%3A%2F%2Fwww.gravatar.com%2Favatar%2F4b96677ae9ecbe76b8c33e...
</div>
For more details see L<< C<Acme::CPANAuthors::MBTI>|Acme::CPANAuthors::MBTI >>.
=over 4
=item * L<< C<INTP> on personalitypage.com|http://personalitypage.com/INTP.html >>
=item * L<< C<INTP> on typelogic.com|http://typelogic.com/intp.html >>
( run in 1.135 second using v1.01-cache-2.11-cpan-49f99fa48dc )