/usr/share/perl5/auto/share/dist/Catalyst-Devel/lib/Helper/compclass.pm.tt is in libcatalyst-devel-perl 1.39-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 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 | package [% class %];
use Moose;
use namespace::autoclean;
[% IF long_type == 'Controller' %]BEGIN { [% END %]extends 'Catalyst::[% long_type %]';[% IF long_type == 'Controller' %] }[% END %]
=head1 NAME
[% class %] - Catalyst [% long_type %]
=head1 DESCRIPTION
Catalyst [% long_type %].
[% IF long_type == 'Controller' %]
=head1 METHODS
=cut
=head2 index
=cut
sub index :Path :Args(0) {
my ( $self, $c ) = @_;
$c->response->body('Matched [% class %] in [%name%].');
}
[% END %]
=encoding utf8
=head1 AUTHOR
[%author%]
=head1 LICENSE
This library is free software. You can redistribute it and/or modify
it under the same terms as Perl itself.
=cut
__PACKAGE__->meta->make_immutable;
1;
|