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