projects
/
gitmo/Mouse.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
(parent:
6e96640
)
Apply a patch contributed by chocolateboy (RT #54383) to allow "use Mouse::Tiny VERSION"
gfx [Mon, 8 Feb 2010 03:38:21 +0000 (12:38 +0900)]
tool/generate-mouse-tiny.pl
patch
|
blob
|
blame
|
history
diff --git
a/tool/generate-mouse-tiny.pl
b/tool/generate-mouse-tiny.pl
index
fab7e68
..
045387d
100644
(file)
--- a/
tool/generate-mouse-tiny.pl
+++ b/
tool/generate-mouse-tiny.pl
@@
-96,9
+96,11
@@
END_OF_TINY
} # unless Mouse.pm is loaded
EOF
-print { $handle } << 'EOF';
+print { $handle } << "EOF";
package Mouse::Tiny;
+our \$VERSION = '$Mouse::Spec::VERSION';
+
Mouse::Exporter->setup_import_methods(also => 'Mouse');
1;