/usr/share/perl5/DBIx/Class/CDBICompat/Stringify.pm is in libdbix-class-perl 0.082840-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 | package # hide from PAUSE
DBIx::Class::CDBICompat::Stringify;
use strict;
use warnings;
use Scalar::Util;
use overload
'""' => sub { return shift->stringify_self; },
fallback => 1;
sub stringify_self {
my $self = shift;
my @cols = $self->columns('Stringify');
@cols = $self->primary_column unless @cols;
my $ret = join "/", map { $self->get_column($_) || '' } @cols;
return $ret || ref $self;
}
1;
|