projects
/
gitmo/Mouse.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
Apply a patch contributed by chocolateboy (RT #54383) to allow "use Mouse::Tiny VERSION"
[gitmo/Mouse.git]
/
tool
/
generate-mouse-tiny.pl
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;