Remove old hack for Data::Dumper that should no longer be required
Kennedy Clark [Sun, 3 May 2009 07:45:45 +0000 (07:45 +0000)]
lib/Catalyst/Manual/Tutorial/BasicCRUD.pod

index 4b9bd73..74f7f2a 100644 (file)
@@ -119,14 +119,6 @@ Edit C<lib/MyApp/Controller/Books.pm> and enter the following method:
         # Assign the Book object to the stash for display in the view
         $c->stash->{book} = $book;
 
-        # This is a hack to disable XSUB processing in Data::Dumper
-        # (it's used in the view).  This is a work-around for a bug in
-        # the interaction of some versions or Perl, Data::Dumper & DBIC.
-        # You won't need this if you aren't using Data::Dumper (or if
-        # you are running DBIC 0.06001 or greater), but adding it doesn't
-        # hurt anything either.
-        $Data::Dumper::Useperl = 1;
-
         # Set the TT template to use
         $c->stash->{template} = 'books/create_done.tt2';
     }