From: Shawn M Moore Date: Wed, 1 Jul 2009 16:54:37 +0000 (-0400) Subject: Some more pro-Moose propaganda X-Git-Tag: 0.27~4 X-Git-Url: http://git.shadowcat.co.uk/gitweb/gitweb.cgi?a=commitdiff_plain;h=16913e719a472035cea1218c644a4c706401274c;p=gitmo%2FMouse.git Some more pro-Moose propaganda --- diff --git a/lib/Mouse.pm b/lib/Mouse.pm index 404c68d..de8ad9d 100644 --- a/lib/Mouse.pm +++ b/lib/Mouse.pm @@ -268,9 +268,12 @@ Mouse - Moose minus the antlers L is wonderful. B -Unfortunately, Moose has a compile-time penalty. Though significant progress has -been made over the years, the compile time penalty is a non-starter for some -applications. +Unfortunately, Moose has a compile-time penalty. Though significant progress +has been made over the years, the compile time penalty is a non-starter for +some very specific applications. If you are writing a command-line application +or CGI script where startup time is essential, you may not be able to use +Moose. We recommend that you instead use L and FastCGI for the +latter, if possible. Mouse aims to alleviate this by providing a subset of Moose's functionality, faster. @@ -289,7 +292,13 @@ runs the test suite 4x faster. The idea is that, if you need the extra power, you should be able to run C on your codebase and have nothing break. To that end, we have written L which will act as Mouse unless Moose is loaded, -in which case it will act as Moose. +in which case it will act as Moose. Since Mouse is a little sloppier than +Moose, if you run into weird errors, it would be worth running: + + ANY_MOOSE=Moose perl your-script.pl + +to see if the bug is caused by Mouse. Moose's diagnostics and validation are +also much better. =head2 MouseX