Acme-AsciiEmoji
view release on metacpan or search on metacpan
lib/Acme/AsciiEmoji.pm view on Meta::CPAN
...
print innocent;
# Êâ¿Ê
=cut
=head1 EXPORT
=cut
sub ascii_emoji {
return pack( 'C*', @{ $EMOJI{ $_[0] } } );
}
=head2 innocent
Êâ¿Ê
Innocent face
=cut
sub innocent {
return ascii_emoji('innocent');
}
=head2 disapproval
ಠ_à²
Reddit disapproval face
=cut
sub disapproval {
return ascii_emoji('disapproval');
}
=head2 table_flip
(â¯Â°â¡Â°ï¼â¯ï¸µ â»ââ»
Table Flip / Flipping Table
=cut
sub table_flip {
return ascii_emoji('table_flip');
}
=head2 put_the_table_back
â¬â⬠ã( ã-ãã)
Put the table back
=cut
sub put_the_table_back {
return ascii_emoji('put_the_table_back');
}
=head2 double_flip
â»â⻠︵ã½(`д)ï¾ï¸µ â»ââ»
Double Flip / Double Angry
=cut
sub double_flip {
return ascii_emoji('double_flip');
}
=head2 super_waving
( ï¾âï¾)ï½±ï¾ï¾å
«å
«ï¾ã½ï¾ã½ï¾ã½ï¾ ï¼¼ / ï¼¼/ ï¼¼
Super waving
=cut
sub super_waving {
return ascii_emoji('super_waving');
}
=head2 fistacuffs
á(ï½ã¼Â´á)
Fistacuffs
=cut
sub fistacuffs {
return ascii_emoji('fistacuffs');
}
=head2 cute_bear
Êâ¢á´¥â¢Ê
Cute bear
=cut
sub cute_bear {
return ascii_emoji('cute_bear');
}
=head2 big_eyes
(。ââ¿â。)
Big eyes
=cut
sub big_eyes {
return ascii_emoji('big_eyes');
}
=head2 surprised
ï¼ãï¾Ðï¾ï¼
surprised / loudmouthed
=cut
sub surprised {
return ascii_emoji('surprised');
}
=head2 shrug
¯\_(ã)_/¯
shrug face
=cut
sub shrug {
return ascii_emoji('shrug');
}
=head2 meh
¯\(°_o)/¯
meh
=cut
sub meh {
return ascii_emoji('meh');
}
=head2 feel_perky
(`ï½¥Ï・´)
feel perky
=cut
sub feel_perky {
return ascii_emoji('feel_perky');
}
=head2 angry
(⬠ಠçಠ)
angry face
=cut
sub angry {
return ascii_emoji('angry');
}
=head2 excited
â(ââ½â)â
excited
=cut
sub excited {
return ascii_emoji('excited');
}
=head2 running
ε=ε=ε=â(;*´Ð`)ï¾
running
=cut
sub running {
return ascii_emoji('running');
}
=head2 happy
ã½(´â½`)/
happy face
=cut
sub happy {
return ascii_emoji('happy');
}
=head2 basking_in_glory
ã½(´ã¼ï½)ã
basking in glory
=cut
sub basking_in_glory {
return ascii_emoji('basking_in_glory');
}
=head2 kitty
áµá´¥áµ#
kitty emote
=cut
sub kitty {
return ascii_emoji('kitty');
}
=head2 meow
à¸
^â¢ï»â¢^à¸
meow
=cut
sub meow {
return ascii_emoji('meow');
}
=head2 cheers
ï¼ ^_^ï¼oèªèªoï¼^_^ ï¼
Cheers
=cut
sub cheers {
return ascii_emoji('cheers');
}
=head2 devious
ಠâ¿à²
devious smile
=cut
sub devious {
return ascii_emoji('devious');
}
=head2 chan
( ͡° ÍÊ Í¡Â°)
4chan emoticon
=cut
sub chan {
return ascii_emoji('chan');
}
=head2 disagree
Ù©â̯âÛ¶
disagree
=cut
sub disagree {
return ascii_emoji('disagree');
}
=head2 flexing
á(ââ¸â¼â¶)á
flexing
=cut
sub flexing {
return ascii_emoji('flexing');
}
=head2 do_you_lift_bro
á¦(ò_óË)á¤
do you even lift bro?
=cut
sub do_you_lift_bro {
return ascii_emoji('do_you_lift_bro');
}
=head2 kirby
â(ââ¿â)ã¤
kirby
=cut
sub kirby {
return ascii_emoji('kirby');
}
=head2 tripping_out
q(ââ¿â)p
tripping out
=cut
sub tripping_out {
return ascii_emoji('tripping_out');
}
=head2 discombobulated
âï¹â
discombobulated
=cut
sub discombobulated {
return ascii_emoji('discombobulated');
}
=head2 sad_shrug
¯\_(â︿â)_/¯
sad and confused
=cut
sub sad_shrug {
return ascii_emoji('sad_shrug');
}
=head2 confused
¿â§_â§ï®
confused
=cut
sub confused {
return ascii_emoji('confused');
}
=head2 confused_scratch
(â.â)7
confused scratch
=cut
sub confused_scratch {
return ascii_emoji('confused_scratch');
}
=head2 worried
(´・_・`)
worried
=cut
sub worried {
return ascii_emoji('worried');
}
=head2 dear_god_why
Ñï¼ï¾Ðï¾Ñï¼
dear god why
=cut
sub dear_god_why {
return ascii_emoji('dear_god_why');
}
=head2 staring
Ù©(Í¡à¹_à¹)Û¶
staring
=cut
sub staring {
return ascii_emoji('staring');
}
=head2 strut
á( á )á
strut
=cut
sub strut {
return ascii_emoji('strut');
}
=head2 zoned
(â_â)
zoned
=cut
sub zoned {
return ascii_emoji('zoned');
}
=head2 crazy
ãâï¹âã
crazy
=cut
sub crazy {
return ascii_emoji('crazy');
}
=head2 trolling
༼âµà¼½ ༼â¨à¼½ ༼â¢à¼½ ༼â¤à¼½
trolling
=cut
sub trolling {
return ascii_emoji('trolling');
}
=head2 angry_troll
ã½à¼¼ ಠçಠ༽ï¾
angry troll
=cut
sub angry_troll {
return ascii_emoji('angry_troll');
}
=head2 hugger
(ã¥ï¿£ ³ ̄)ã¥
hugger
=cut
sub hugger {
return ascii_emoji('hugger');
}
=head2 stranger_danger
(ã¥ï½¡ââ¿â¿â。)ã¥
stranger danger
=cut
sub stranger_danger {
return ascii_emoji('stranger_danger');
}
=head2 flip_friend
(ãಠâ©à² )ã彡( \o°o)\
flip friend
=cut
sub flip_friend {
return ascii_emoji('flip_friend');
}
=head2 cry
。ï¾( ï¾à®â¸à®ï¾)ï¾ï½¡
cry face
=cut
sub cry {
return ascii_emoji('cry');
}
=head2 tgif
âã½(´â½ï½)ãâ
TGIF
=cut
sub tgif {
return ascii_emoji('tgif');
}
=head2 dancing
â(ãã¨ã)Ê
dancing
=cut
sub dancing {
return ascii_emoji('dancing');
}
=head2 sleepy
ë_ë
sleepy
=cut
sub sleepy {
return ascii_emoji('sleepy');
}
=head2 fly_away
â½â½à¬( ËáµË )à¬â¾â¾
fly away
=cut
sub fly_away {
return ascii_emoji('fly_away');
}
=head2 careless
â_â
careless
=cut
sub careless {
return ascii_emoji('careless');
}
=head2 love
â¥â¿â¥
love
=cut
sub love {
return ascii_emoji('love');
}
=head2 touch
Ô
(ââ¿âÔ
)
Touchy Feely
=cut
sub touchy {
return ascii_emoji('touchy');
}
=head2 robot
{â¢Ì_â¢Ì}
robot
=cut
sub robot {
return ascii_emoji('robot');
}
=head2 seal
(áµá´¥áµ)
seal
``
=cut
sub seal {
return ascii_emoji('seal');
}
=head2 questionable
(Ծ⸠Ծ)
questionable / dislike
=cut
sub questionable {
return ascii_emoji('questionable');
}
=head2 winning
(â¢Ìá´â¢Ì)Ù ÌÌ
Winning!
=cut
sub winning {
return ascii_emoji('winning');
}
=head2 zombie
[¬º-°]¬
Zombie
=cut
sub zombie {
return ascii_emoji('zombie');
}
=head2 pointing
(âï¾ã®ï¾)â
pointing
=cut
sub pointing {
return ascii_emoji('pointing');
}
=head2 chasing
''â(ಠ۾ಠ)¬'''
chasing / running away
=cut
sub chasing {
return ascii_emoji('chasing');
}
=head2 shy
(à¹â¢Ì â â¢Ìà¹)
shy
=cut
sub shy {
return ascii_emoji('shy');
}
=head2 okay
( â¢_â¢)
okay..
=cut
sub okay {
return ascii_emoji('okay');
}
=head2 put_sunglasses_on
( â¢_â¢)>ââ -â
Put Sunglasses on.
=cut
sub put_sunglasses_on {
return ascii_emoji('put_sunglasses_on');
}
=head2 sunglasses
(ââ _â )
sunglasses
=cut
sub sunglasses {
return ascii_emoji('sunglasses');
}
=head2 giving_up
o(â¥ï¹â¥)o
Giving Up
=cut
sub giving_up {
return ascii_emoji('giving_up');
}
=head2 magical
(ï¾âã®â)ï¾*:ã»ï¾â§
Magical
=cut
sub magical {
return ascii_emoji('magical');
}
=head2 mustach
( Ëà·´Ë )
Mustach
=cut
sub mustach {
return ascii_emoji('mustach');
}
=head2 friends
(ï½ã»_ã»)ãâ(á´_ á´ã)
Friends
=cut
sub friends {
return ascii_emoji('friends');
}
=head2 evil
(å±®ï½â´)å±®
Evil
=cut
sub evil {
return ascii_emoji('evil');
}
=head2 devil
(â£ââ¢)Ï
Devil
=cut
sub devil {
return ascii_emoji('devil');
}
=head2 salute
(ï¿£ã¼ï¿£)ã
Salute
=cut
sub salute {
return ascii_emoji('salute');
}
=head2 inject
â(â ÍÊâ)ã¤â£ââââââ
inject
=cut
sub inject {
return ascii_emoji('inject');
}
=head2 why
ã½(ï½â´ã¡)ã
why
=cut
sub why {
return ascii_emoji('why');
}
=head2 execution
(ââ _â )︻â¦â¤â (â¥ï¹â¥)
execution
=cut
sub execution {
return ascii_emoji('execution');
}
=head2 kicking
ã½( ï½¥âï½¥)ï¾ââΣ(ã `д)ã
kicking
=cut
sub kicking {
return ascii_emoji('kicking');
}
=head2 success
â§*。٩(ËáË*)Ùâ§*。
yay
=cut
sub success {
return ascii_emoji('success');
}
=head2 punch
ââ«*ï½ï½°Â´â£ââââââââââ)ï¾Oï¾).。ï¾
punch
=cut
sub punch {
return ascii_emoji('punch');
}
=head2 fu
áâ ͡ᵠ⸠͡ᵠâå¸
*fu*
=cut
sub fu {
return ascii_emoji('fu');
}
=head2 vision
(-(-(-_-)-)-)
vision
=cut
sub vision {
return ascii_emoji('vision');
}
=head2 eyes
â(ââ âà·´â ââ)â®
eyes
=cut
sub eyes {
return ascii_emoji('eyes');
}
=head2 wall
â´â¬â´â¤ï½¥_ï½¥ââ´â¬â´
wall
=cut
sub wall {
return ascii_emoji('wall');
}
=head1 AUTHOR
Robert Acock, C<< <email at lnation.org> >>
=head1 BUGS
Please report any bugs or feature requests to C<bug-acme-asciiemoji at rt.cpan.org>, or through
t/01-emoji.t view on Meta::CPAN
use strict;
use warnings;
use Test::More;
use Acme::AsciiEmoji;
sub is_emoji {
my %args = @_;
is($args{meth}(), $args{expected});
};
is_emoji(
meth => \&Acme::AsciiEmoji::innocent,
expected => 'Êâ¿Ê',
);
is_emoji(
xt/boilerplate.t view on Meta::CPAN
#!perl -T
use 5.006;
use strict;
use warnings;
use Test::More;
plan tests => 3;
sub not_in_file_ok {
my ($filename, %regex) = @_;
open( my $fh, '<', $filename )
or die "couldn't open $filename for reading: $!";
my %violated;
while (my $line = <$fh>) {
while (my ($desc, $regex) = each %regex) {
if ($line =~ $regex) {
push @{$violated{$desc}||=[]}, $.;
xt/boilerplate.t view on Meta::CPAN
}
if (%violated) {
fail("$filename contains boilerplate text");
diag "$_ appears on lines @{$violated{$_}}" for keys %violated;
} else {
pass("$filename contains no boilerplate text");
}
}
sub module_boilerplate_ok {
my ($module) = @_;
not_in_file_ok($module =>
'the great new $MODULENAME' => qr/ - The great new /,
'boilerplate description' => qr/Quick summary of what the module/,
'stub function definition' => qr/function[12]/,
);
}
TODO: {
local $TODO = "Need to replace the boilerplate text";
( run in 0.259 second using v1.01-cache-2.11-cpan-a5abf4f5562 )