025036832a
FossilOrigin-Name: 58d7a2add5fc05eac12f8bacd7071095d91d0c9d3f481454202898b1cf5c115a
24 lines
406 B
Perl
24 lines
406 B
Perl
package emojis;
|
|
use strict;
|
|
use warnings;
|
|
use Data::Dumper;
|
|
use Exporter 'import';
|
|
|
|
our @EXPORT = qw( generate_emoji );
|
|
|
|
use template_helpers 'to_template';
|
|
|
|
sub generate_emoji
|
|
{
|
|
my ($ssn, $data, $status_id, $emoji) = @_;
|
|
|
|
my %vars = (
|
|
prefix => '',
|
|
ssn => $ssn,
|
|
status_id => $status_id,
|
|
emoji => $emoji
|
|
);
|
|
|
|
to_template(\%vars, \$data->{'emoji.tt'});
|
|
}
|
|
|