/usr/share/perl5/PDF/API2/Basic/PDF/Number.pm is in libpdf-api2-perl 2.020-2.
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 | #=======================================================================
#
# THIS IS A REUSED PERL MODULE, FOR PROPER LICENCING TERMS SEE BELOW:
#
# Copyright Martin Hosken <Martin_Hosken@sil.org>
#
# No warranty or expression of effectiveness, least of all regarding
# anyone's safety, is implied in this software or documentation.
#
# This specific module is licensed under the Perl Artistic License.
#
#=======================================================================
package PDF::API2::Basic::PDF::Number;
our $VERSION = '2.020'; # VERSION
use base 'PDF::API2::Basic::PDF::String';
use strict;
=head1 NAME
PDF::API2::Basic::PDF::Number - Numbers in PDF. Inherits from L<PDF::API2::Basic::PDF::String>
=head1 METHODS
=head2 $n->convert($str)
Converts a string from PDF to internal, by doing nothing
=cut
sub convert {
return $_[1];
}
=head2 $n->as_pdf
Converts a number to PDF format
=cut
sub as_pdf {
return $_[0]->{'val'};
}
1;
|