Comment about the yuk
Tomas Doran [Fri, 11 Dec 2009 10:12:08 +0000 (10:12 +0000)]
lib/Catalyst/Request/REST.pm

index ba60659..6e96fd8 100644 (file)
@@ -7,6 +7,9 @@ use namespace::autoclean;
 extends 'Catalyst::Request';
 with 'Catalyst::TraitFor::Request::REST';
 
+# Please don't take this as a recommended way to do things.
+# The code below is grotty, badly factored and mostly here for back
+# compat..
 sub _insert_self_into {
   my ($class, $app_class ) = @_;
   # the fallback to $app_class is for the (rare and deprecated) case when