31 lines
810 B
Perl
31 lines
810 B
Perl
package DDG::Goodie::ValarMorghulis;
|
|
# ABSTRACT: A Game of Thrones / A Song of Ice and Fire easter egg.
|
|
|
|
use utf8;
|
|
use DDG::Goodie;
|
|
|
|
triggers start => 'valar morghulis';
|
|
primary_example_queries 'valar morghulis';
|
|
|
|
name 'Valar Morghulis';
|
|
description 'Game of Thrones / A Song of Ice and Fire easter egg.';
|
|
category 'special';
|
|
topics 'geek';
|
|
code_url 'https://github.com/duckduckgo/zeroclickinfo-goodies/blob/master/lib/DDG/Goodie/ValarMorghulis.pm';
|
|
attribution
|
|
web => ['http://engvik.nu', 'Lars Jansøn Engvik'],
|
|
github => [ 'larseng', 'Lars Jansøn Engvik'];
|
|
|
|
zci answer_type => 'valarmorghulis';
|
|
zci is_cached => 1;
|
|
|
|
handle remainder => sub {
|
|
if($_ eq '') {
|
|
return 'Valar dohaeris',
|
|
html => '<span class="zci--valarmorg">Valar dohaeris</span>';
|
|
}
|
|
return;
|
|
};
|
|
|
|
1;
|