/usr/share/perl5/Text/PDF/Bool.pm is in libtext-pdf-perl 0.29a-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 | package Text::PDF::Bool;
use strict;
use vars qw(@ISA);
# no warnings qw(uninitialized);
use Text::PDF::String;
@ISA = qw(Text::PDF::String);
=head1 NAME
PDF::Bool - A special form of L<PDF::String> which holds the strings
B<true> or B<false>
=head1 METHODS
=head2 $b->convert($str)
Converts a string into the string which will be stored.
=cut
sub convert
{ return $_[1] eq "true"; }
=head2 as_pdf
Converts the value to a PDF output form
=cut
sub as_pdf
{ $_[0]->{'val'} ? "true" : "false"; }
1;
|