File: OwnComponent.pm

package info (click to toggle)
libclass-c3-componentised-perl 1.001002-2
  • links: PTS, VCS
  • area: main
  • in suites: bookworm, forky, sid, trixie
  • size: 148 kB
  • sloc: perl: 250; makefile: 2
file content (15 lines) | stat: -rw-r--r-- 209 bytes parent folder | download | duplicates (2)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
package # hide from pause
  MyModule::OwnComponent;
use strict;
use warnings;

use MRO::Compat;
use mro 'c3';

sub message {
  my $self = shift;

  return join(" ", "OwnComponent", $self->next::method);
}

1;