X-Git-Url: http://git.shiar.nl/sheet.git/blobdiff_plain/c660c1316a11eedb0b1232dbe55e14cb8b7d3cae..v1.10-46-g4c43bcbed6:/emoji.plp?ds=inline
diff --git a/emoji.plp b/emoji.plp
index 00e7506..2a546b4 100644
--- a/emoji.plp
+++ b/emoji.plp
@@ -2,7 +2,7 @@
Html({
title => 'emoji cheat sheet',
- version => 'v1.0',
+ version => '1.0',
description => [
"Emoticons overview and Unicode equivalents"
. " of MSN, Y!M, and Gmail icons.",
@@ -18,25 +18,25 @@ Html({
IM emoticons
<:
-print ''."\n";
+say '
';
for my $system (qw'gmail msn yahoo') {
my @info = do "emoji-$system.inc.pl";
my $meta = shift @info or die $@;
ref $meta eq 'HASH' or die "invalid $system definitions";
my $title = $meta->{name} // $system;
- $title = qq{
$title} for $meta->{source} || ();
+ $title = showlink($title, $_) for $meta->{source} || ();
- printf '
%s
'."\n\n", $meta->{name} // $system;
- print '
'."\n";
+ say sprintf '%s
', $meta->{name} // $system;
+ say '
';
for (my $i = 0; $i <= $#info; $i++) {
my $name = $info[$i];
unless (ref $info[$i+1] eq 'ARRAY') {
- printf '
'."\n", $name;
+ say sprintf '
', $name;
next;
}
my ($input, $flags, $char, $desc) = @{ $info[++$i] };
- printf(' | %s | %s%s'."\n",
+ say sprintf(' |
---|
| %s | %s%s',
sprintf($meta->{ $flags =~ /\bext\b/ ? 'iconext' : 'icon' } // '%s', $name),
EscapeHTML($name),
EscapeHTML($input),
@@ -44,8 +44,8 @@ for my $system (qw'gmail msn yahoo') {
$char ? ' | '.chr($char) : '',
);
}
- print " |
---|
\n\n";
+ say "
\n";
}
-print "
\n\n";
+say "
\n";