This file is indexed.

/usr/share/perl5/Class/MakeMethods/Template/Flyweight.pm is in libclass-makemethods-perl 1.01-4.

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
package Class::MakeMethods::Template::Flyweight;

use Class::MakeMethods::Template::InsideOut '-isasubclass';

$VERSION = 1.008;

sub new { { '-import' => { 'Template::Scalar:new' => '*' } } }

1;

__END__

=head1 NAME

Class::MakeMethods::Template::Flyweight - Deprecated name for InsideOut

=head1 SYNOPSIS

  package MyObject;
  use Class::MakeMethods::Template::InsideOut (
    new             => [ 'new' ]
    scalar          => [ 'foo', 'bar' ]
  );
  
  package main;

  my $obj = MyObject->new( foo => "Foozle", bar => "Bozzle" );
  print $obj->foo();		# Prints Foozle
  $obj->bar("Bamboozle"); 	# Sets $obj->{bar}

=head1 DESCRIPTION

Earlier versions of this package included a package named Class::MakeMethods::Template::Flyweight.

However, in hindsight, this name was poorly chosen, as it suggests that the Flyweight object design pattern is being used, when the functionality is more akin to what's sometimes known as "inside-out objects."

This functionality is now provided by Class::MakeMethods::Template::InsideOut, of which this is an almost-empty subclass retained to provide backwards compatibility.

=head1 SEE ALSO

L<Class::MakeMethods::Template::InsideOut>.

=cut