File: MyModule.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 (20 lines) | stat: -rw-r--r-- 295 bytes parent folder | download | duplicates (2)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
package # hide from pause
  MyModule;
use strict;
use warnings;

use base 'Class::C3::Componentised';

sub component_base_class { "MyModule::Plugin" }

sub message {
  my $msg = $_[0]->maybe::next::method() || '';

  return $msg . ' ' . __PACKAGE__;
}

sub new {
  return bless {}, shift;
}

1;