Giter Site home page Giter Site logo

p5-badge-depot-plugin-perl's Introduction

NAME

Badge::Depot::Plugin::Perl - Perl version plugin for Badge::Depot

VERSION

Version 0.0104, released 2016-02-17.

SYNOPSIS

If used standalone:

use Badge::Depot::Plugin::Perl;

my $badge = Badge::Depot::Plugin::Perl->new(version => '5.8.5+');

print $badge->to_html;
# prints '<img src="https://img.shields.io/badge/perl-5.8.5+-blue.svg" />'

If used with Pod::Weaver::Section::Badges, in weaver.ini:

[Badges]
; other settings
badge = Perl
-perl_version = 5.8.5

DESCRIPTION

Creates a Perl version badge, like this:

This class consumes the Badge::Depot role.

ATTRIBUTES

All attributes are optional.

version

The minimum supported Perl version. If it isn't given, it looks for a prereqs/runtime/requires/perl entry in META.json and uses that.

It is set to 'unknown' if it is neither given or exists in META.json.

trailing

A string to add after the version, if the version is fetched from META.json. Defaults to +.

Not used if version is explicitly set.

custom_image_url

By default, this module shows an image from shields.io. Use this attribute to override that with a custom url. Use a %s placeholder where the version should be inserted.

color

Default: blue

See shields.io for possible colors.

SEE ALSO

SOURCE

https://github.com/Csson/p5-Badge-Depot-Plugin-Perl

HOMEPAGE

https://metacpan.org/release/Badge-Depot-Plugin-Perl

AUTHOR

Erik Carlsson [email protected]

COPYRIGHT AND LICENSE

This software is copyright (c) 2016 by Erik Carlsson.

This is free software; you can redistribute it and/or modify it under the same terms as the Perl 5 programming language system itself.

p5-badge-depot-plugin-perl's People

Contributors

csson avatar

Watchers

James Cloos avatar  avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.