Generating SVG Badges with Perl
Generating SVG Badges with Perl
If you’ve looked at projects on GitHub or other sites, you may have noticed the little rectangular badges (aka shields) saying things like “build passing” with a nice green background (or yellow/red if something is wrong), and if you’ve used Travis CI or Coveralls, you probably know how to get these badges. There is also a nice service that can generate these badges for you, Shields.io, which is written in JavaScript.
There didn’t seem to be anything like that for Perl, so I wrote Badge::Simple!
Examples:
https://cpants.cpanauthors.org/dist/Bit-Twiddling.svg
https://cpants.cpanauthors.org/author/BRIANG.svg