mro compat stuff
[catagits/Catalyst-Runtime.git] / lib / Catalyst / Engine.pm
index 71773fe..3514770 100644 (file)
@@ -1,5 +1,7 @@
 package Catalyst::Engine;
 
+use MRO::Compat;
+use mro 'c3';
 use Moose;
 with 'MooseX::Emulate::Class::Accessor::Fast';
 
@@ -16,8 +18,7 @@ use Scalar::Util ();
 has read_length => (is => 'rw');
 has read_position => (is => 'rw');
 
-# Stringify to class
-use overload '""' => sub { return ref shift }, fallback => 1;
+no Moose;
 
 # Amount of data to read from input on each pass
 our $CHUNKSIZE = 64 * 1024;