projects
/
gitmo/Moose.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
(parent:
1809f1c
)
Make Moose and Moose::Role use strict
Shawn M Moore [Fri, 26 Jun 2009 19:39:25 +0000 (15:39 -0400)]
lib/Moose.pm
patch
|
blob
|
blame
|
history
lib/Moose/Role.pm
patch
|
blob
|
blame
|
history
diff --git
a/lib/Moose.pm
b/lib/Moose.pm
index
45cac88
..
9aa8ce7
100644
(file)
--- a/
lib/Moose.pm
+++ b/
lib/Moose.pm
@@
-1,4
+1,6
@@
package Moose;
+use strict;
+use warnings;
use 5.008;
diff --git
a/lib/Moose/Role.pm
b/lib/Moose/Role.pm
index
687d32c
..
5b70551
100644
(file)
--- a/
lib/Moose/Role.pm
+++ b/
lib/Moose/Role.pm
@@
-1,5
+1,6
@@
-
package Moose::Role;
+use strict;
+use warnings;
use Scalar::Util 'blessed';
use Carp 'croak';