projects
/
gitmo/Moose.git
/ blob
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
blame
|
history
|
raw
|
HEAD
Use dzil Authority plugin - remove $AUTHORITY from code
[gitmo/Moose.git]
/
lib
/
Moose
/
Meta
/
Method
/
Accessor
/
Native
/
Bool
/
not.pm
1
package Moose::Meta::Method::Accessor::Native::Bool::not;
2
3
use strict;
4
use warnings;
5
6
use Moose::Role;
7
8
with 'Moose::Meta::Method::Accessor::Native::Reader' =>
9
{ -excludes => ['_maximum_arguments'] };
10
11
sub _maximum_arguments { 0 }
12
13
sub _return_value {
14
my $self = shift;
15
my ($slot_access) = @_;
16
17
return '!' . $slot_access;
18
}
19
20
1;