File: Example.pm

package info (click to toggle)
librole-basic-perl 0.16-1
  • links: PTS, VCS
  • area: main
  • in suites: forky, sid, trixie
  • size: 252 kB
  • sloc: perl: 1,725; makefile: 7
file content (13 lines) | stat: -rw-r--r-- 164 bytes parent folder | download | duplicates (6)
1
2
3
4
5
6
7
8
9
10
11
12
13
package My::Example;

use Role::Basic 'with';

with 'My::Does::Basic';

sub new { bless {} => shift }

sub turbo_charger {}
$My::Example::foo = 1;
sub foo() {}

1;