From: gfx Date: Mon, 8 Feb 2010 03:38:21 +0000 (+0900) Subject: Apply a patch contributed by chocolateboy (RT #54383) to allow "use Mouse::Tiny VERSION" X-Git-Tag: 0.50~7 X-Git-Url: http://git.shadowcat.co.uk/gitweb/gitweb.cgi?a=commitdiff_plain;h=47c73874c0f53fc133dc692896877b9e936ecae8;p=gitmo%2FMouse.git Apply a patch contributed by chocolateboy (RT #54383) to allow "use Mouse::Tiny VERSION" --- diff --git a/tool/generate-mouse-tiny.pl b/tool/generate-mouse-tiny.pl index fab7e68..045387d 100644 --- 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;