[Bps-public-commit] Prophet branch, master, updated. 0.743-29-g1244be5

Shawn Moore sartak at bestpractical.com
Fri Nov 5 12:33:37 EDT 2010


The branch, master has been updated
       via  1244be53c20192d3c33dfaef13fd87753921002e (commit)
      from  c6e2b654cdb3e5722b172b43df5054a4172463f7 (commit)

Summary of changes:
 lib/Prophet/Server.pm |    4 +++-
 1 files changed, 3 insertions(+), 1 deletions(-)

- Log -----------------------------------------------------------------
commit 1244be53c20192d3c33dfaef13fd87753921002e
Author: Shawn M Moore <sartak at bestpractical.com>
Date:   Fri Nov 5 12:33:26 2010 -0400

    Silence a Mouse warning with "use base" instead of "extends"

diff --git a/lib/Prophet/Server.pm b/lib/Prophet/Server.pm
index bd60eec..0c16321 100644
--- a/lib/Prophet/Server.pm
+++ b/lib/Prophet/Server.pm
@@ -1,6 +1,8 @@
 package Prophet::Server;
 use Any::Moose;
-extends qw'HTTP::Server::Simple::CGI';
+
+# this instead of extends silences "You inherit from non-Mouse class" warning
+use base 'HTTP::Server::Simple::CGI';
 
 use Prophet::Server::Controller;
 use Prophet::Server::View;

-----------------------------------------------------------------------



More information about the Bps-public-commit mailing list