/usr/share/perl5/Rose/DB/Object/Metadata/Object.pm is in librose-db-object-perl 1:0.797-1.
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 | package Rose::DB::Object::Metadata::Object;
use strict;
use Clone();
use Scalar::Util();
use Rose::Object;
our @ISA = qw(Rose::Object);
our $VERSION = '0.722';
sub parent
{
my($self) = shift;
return Scalar::Util::weaken($self->{'parent'} = shift) if(@_);
return $self->{'parent'};
}
sub clone
{
my($self) = shift;
my $clone = Clone::clone($self);
Scalar::Util::weaken($clone->{'parent'});
return $clone;
}
1;
|