Matt Miller 5481cf4ebc Fix minor code layout issues.
Reducing scroll spam from dzil by:

- Providing ABSTRACTs for all packages.
- Leaving VERSION vertical space where necessary.

Addresses #600 plus other annoyances in the process.
2014-08-20 14:45:33 -04:00

27 lines
739 B
Perl

package DDG::Goodie::PigLatin;
# ABSTRACT: convert a given string to pig latin
use DDG::Goodie;
use Lingua::PigLatin 'piglatin';
triggers startend => 'pig latin', 'piglatin';
zci is_cached => 1;
zci answer_type => "translation";
attribution github => ['http://github.com/nospampleasemam', 'nospampleasemam'],
web => ['http://github.com/nospampleasemam', 'nospampleasemam'];
primary_example_queries 'pig latin i love duckduckgo';
name 'PigLatin';
description 'translate a phrase into pig latin';
code_url 'https://github.com/duckduckgo/zeroclickinfo-goodies/blob/master/lib/DDG/Goodie/PigLatin.pm';
category 'conversions';
topics 'words_and_games';
handle remainder => sub {
return "Pig Latin: " . piglatin($_)
};
1;