[CDBI] Patch: POD typos in CDBI::Sweet

Frank Wiegand frank at planet-interview.de
Thu Jan 19 23:02:07 GMT 2006


Here's a patch that fixes some POD typos in Class/DBI/Sweet.pm
-------------- next part --------------
Index: lib/Class/DBI/Sweet.pm
===================================================================
--- lib/Class/DBI/Sweet.pm	(Revision 3108)
+++ lib/Class/DBI/Sweet.pm	(Arbeitskopie)
@@ -958,7 +958,7 @@
 
 =item case, cmp, convert, and logic
 
-These attributes are passed to L<SQL::Abstact>'s constuctor and alter the
+These attributes are passed to L<SQL::Abstact>'s constructor and alter the
 behavior of the criteria.
 
     { cmp => 'like' }
@@ -1060,7 +1060,7 @@
 The %s strings are replaced by sql parts as described in L<Ima::DBI>.  See
 "statement_order" for the sql part that replaces each instance of %s.
 
-In addition, the associated statment for COUNT(*) statement has "_Count"
+In addition, the associated statement for a COUNT(*) statement has "_Count"
 appended to the sql_method name.  Only "from" and "where" are passed to the sprintf
 function.
 
@@ -1149,7 +1149,7 @@
 
     where order_by limit
 
-Prefecch_cols are the columns selected when a prefetch is speccified -- use in the SELECT.
+Prefetch_cols are the columns selected when a prefetch is specified -- use in the SELECT.
 Prefetch_names are just the column names for use in GROUP BY.
 
 This is useful when statement order needs to be changed, such as when using a
@@ -1179,11 +1179,11 @@
 
 =head2 page
 
-Retuns a page object and an iterator. The page object is an instance of
+Returns a page object and an iterator. The page object is an instance of
 L<Data::Page>.
 
     ( $page, $iterator )
-        = MyApp::Article->page( $criteria, { rows => 10, page => 2 );
+        = MyApp::Article->page( $criteria, { rows => 10, page => 2 } );
 
     printf( "Results %d - %d of %d Found\n",
         $page->first, $page->last, $page->total_entries );


More information about the ClassDBI mailing list