/usr/share/doc/libclass-insideout-perl/examples/Singleton/MissingConstructor.pm is in libclass-insideout-perl 1.13-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 | package t::Object::Singleton::MissingConstructor;
use strict;
use Class::InsideOut qw( public register :singleton );
BEGIN {
public name => my %name;
}
my $self = register( bless \(my $s), __PACKAGE__);
# weirdly named constructor
sub get_it {
return $self
}
1;
|