File: Example.pm

package info (click to toggle)
librole-basic-perl 0.13-2
  • links: PTS, VCS
  • area: main
  • in suites: buster, stretch
  • size: 268 kB
  • ctags: 56
  • sloc: perl: 1,806; makefile: 2
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;