no first in POD
Arthur Axel "fREW" Schmidt [Sat, 30 Jan 2010 20:24:21 +0000 (20:24 +0000)]
lib/DBIx/Class/Manual/Intro.pod

index 5325fa0..2728c5a 100644 (file)
@@ -434,7 +434,7 @@ For example, the following would not work:
 
  my $row = $schema->resultset('People')
    ->search({ last_name => 'Dantes' })
-   ->first;
+   ->next;
  $row->update({ children => 2 }); # <-- exception thrown because $row isn't
                                   # necessarily unique