From cdbb48a2b313f31cebfc9f4aa700fc9be8f05901 Mon Sep 17 00:00:00 2001 From: Jordan Metzmeier Date: Wed, 24 Apr 2013 09:58:39 -0500 Subject: [PATCH] fix syntax error in pod documentation for find_or_new --- lib/DBIx/Class/ResultSet.pm | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lib/DBIx/Class/ResultSet.pm b/lib/DBIx/Class/ResultSet.pm index 4e4103adf..c322f06a3 100644 --- a/lib/DBIx/Class/ResultSet.pm +++ b/lib/DBIx/Class/ResultSet.pm @@ -2679,7 +2679,7 @@ sub as_query { { artist => 'fred' }, { key => 'artists' }); $cd->cd_to_producer->find_or_new({ producer => $producer }, - { key => 'primary }); + { key => 'primary' }); Find an existing record from this resultset using L. if none exists, instantiate a new result object and return it. The object will not be saved