/usr/share/perl5/Debian/DocBase/Gettext.pm is in doc-base 0.10.3.
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 | #!/usr/bin/perl -w
# Copied from /usr/share/perl5/Debconf/Gettext.pm
# $Id: Gettext.pm 160 2008-11-11 14:06:15Z robert $
package Debian::DocBase::Gettext;
use strict;
BEGIN {
eval 'use Locale::gettext';
if ($@) {
eval q{
sub _g {
return shift;
}
sub _ng {
my ($m1, $m2, $c) = @_;
return $c == 1 ? $m1 : $m2;
}
};
}
else {
textdomain('doc-base');
eval q{
sub _g {
return gettext(shift);
}
sub _ng {
my ($m1, $m2, $c) = @_;
return ngettext($m1, $m2, $c);
}
};
}
}
use base qw(Exporter);
our @EXPORT=qw(_g _ng);
1
|