File: TestApp.pm

package info (click to toggle)
libmoosex-object-pluggable-perl 0.0011-1
  • links: PTS, VCS
  • area: main
  • in suites: squeeze
  • size: 212 kB
  • ctags: 150
  • sloc: perl: 1,921; makefile: 18
file content (19 lines) | stat: -rw-r--r-- 284 bytes parent folder | download | duplicates (6)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
package TestApp;

use strict;
use warnings;
use Moose;

with 'MooseX::Object::Pluggable';

has bee => (is => 'rw', isa => 'Int', required => 1, default => '100');

sub foo{ 'original foo' }

sub bar{ 'original bar' }

sub bor{ 'original bor' }

__PACKAGE__->meta->make_immutable;

1;