/usr/share/doc/libtime-moment-perl/examples/sereal.pl is in libtime-moment-perl 0.42-1build1.
This file is owned by root:root, with mode 0o755.
The actual contents of the file can be viewed below.
1 2 3 4 5 6 7 8 9 10 11 12 13 14 | #!/usr/bin/perl
use strict;
use warnings;
use Time::Moment qw[];
use Sereal 2.030 qw[encode_sereal decode_sereal];
my @moments = (Time::Moment->now, Time::Moment->now_utc);
my $encoded = encode_sereal([ @moments ], { freeze_callbacks => 1 });
my $decoded = decode_sereal($encoded);
foreach my $moment (@$decoded) {
print $moment->to_string, "\n";
}
|