/usr/lib/perl5/DR/SunDown.pm is in libdr-sundown-perl 0.02-1build1.
This file is owned by root:root, with mode 0o644.
The actual contents of the file can be viewed below.
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 | =head1 NAME
DR::SunDown - perl bindings for sundown
=head1 SYNOPSIS
use DR::SunDown;
my $markdown = `cat README.markdown`;
my $html = markdown2html $markdown;
=head2 utf8
The converter returns utf8-strings if it receives utf8-strings.
use Encode 'encode', 'decode';
# $string is encoded utf8
my $string = markdown2html encode utf8 => $data;
# $string and $data have the same utf8 flag
my $string = markdown2html $data;
utf8::decode( $data ) if utf8::is_utf8( $data );
# $string is decoded utf8
my $string = markdown2html $data;
=head1 DESCRIPTION
The library is a perl binding for C-library
L<sundown|https://github.com/vmg/sundown.git>.
=head1 EXPORTS
=head2 markdown2html(TEXT)
Converts markdown text to html.
=head1 AUTHOR
Dmitry E. Oboukhov <unera@debian.org>
=head1 LICENSE
This library is free software; you can redistribute it and/or modify
it under the same terms as Perl itself, either Perl version 5.8.8 or,
at your option, any later version of Perl 5 you may have available.
=cut
package DR::SunDown;
use Carp ();
use base qw(Exporter);
our $VERSION = '0.02';
our @EXPORT = qw(markdown2html);
require XSLoader;
XSLoader::load('DR::SunDown', $VERSION);
1;
|