projects
/
gitmo/Mouse.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
(parent:
ea6dc3a
)
Deprecate Squirrel
Shawn M Moore [Fri, 10 Apr 2009 00:08:09 +0000 (20:08 -0400)]
Changes
patch
|
blob
|
blame
|
history
lib/Squirrel.pm
patch
|
blob
|
blame
|
history
diff --git
a/Changes
b/Changes
index
2e63065
..
0779106
100644
(file)
--- a/
Changes
+++ b/
Changes
@@
-1,6
+1,8
@@
Revision history for Mouse
0.20
+ * Squirrel is now deprecated. Use Any::Moose instead (Sartak)
+
* To improve Moose compat, the third argument to trigger
(the attribute metaobject) has been removed (Sartak)
diff --git
a/lib/Squirrel.pm
b/lib/Squirrel.pm
index
f10d7cb
..
565a3e2
100644
(file)
--- a/
lib/Squirrel.pm
+++ b/
lib/Squirrel.pm
@@
-29,6
+29,8
@@
sub _handlers {
}
sub import {
+ require Carp;
+ Carp::carp("Squirrel is deprecated. Please use Any::Moose instead. It fixes a number of design problems that Squirrel has.");
goto $_[0]->_handlers->{import};
}