1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91
|
Description: Correct spelling errors in manpages
Author: Nick Morrott <knowledgejunkie@gmail.com>
Bug: https://rt.cpan.org/Ticket/Display.html?id=116765
Last-Update: 2016-08-07
---
--- a/lib/DBIx/SearchBuilder.pm
+++ b/lib/DBIx/SearchBuilder.pm
@@ -812,7 +812,7 @@
Example:
-Suppose you want to create Limit statments which would produce results
+Suppose you want to create Limit statements which would produce results
the same as the following SQL:
SELECT * FROM Users WHERE EmailAddress OR Name OR RealName OR Email LIKE $query;
--- a/lib/DBIx/SearchBuilder/Handle.pm
+++ b/lib/DBIx/SearchBuilder/Handle.pm
@@ -816,7 +816,7 @@
If there is no transaction in progress then method throw
warning unless action is forced.
-Method returns true on success or false if error occured.
+Method returns true on success or false if error occurred.
=cut
--- a/lib/DBIx/SearchBuilder/Record.pm
+++ b/lib/DBIx/SearchBuilder/Record.pm
@@ -139,7 +139,7 @@
=back
-And really, thats it. So lets have some sample code.
+And really, that's it. So lets have some sample code.
=head2 An Annotated Example
@@ -199,7 +199,7 @@
Here we set our handle and table name, while its not obvious so far, we'll
see later that $handle (line: 006) gets passed via ::Record::new when a
-new instance is created. Thats actually an important concept, the DB handle
+new instance is created. That's actually an important concept, the DB handle
is not bound to a single object but rather, its shared across objects.
013:
@@ -286,12 +286,12 @@
015: print "Foo : ", $s->Foo(), "\n";
016: print "Bar : ", $s->Bar(), "\n";
-Thats all you have to to get the data, now to change the data!
+That's all you have to to get the data, now to change the data!
017:
018: $s->SetBar('NewBar');
-Pretty simple! Thats really all there is to it. Set<Field>($) returns
+Pretty simple! That's really all there is to it. Set<Field>($) returns
a boolean and a string describing the problem. Lets look at an example of
what will happen if we try to set a 'Id' which we previously defined as
read only.
@@ -331,7 +331,7 @@
And its gone.
-For simple use, thats more or less all there is to it. In the future, I hope to exapand
+For simple use, that's more or less all there is to it. In the future, I hope to exapand
this HowTo to discuss using container classes, overloading, and what
ever else I think of.
@@ -1024,7 +1024,7 @@
current column value as argument. It uses the array reference as
the object constructor's arguments.
Subclasses can override _Object to insert custom access control or
-define default contructor arguments.
+define default constructor arguments.
Note that if you are using a C<Schema> with a C<REFERENCES> field,
this is unnecessary: the method to access the column's value will
--- a/lib/DBIx/SearchBuilder/SchemaGenerator.pm
+++ b/lib/DBIx/SearchBuilder/SchemaGenerator.pm
@@ -88,7 +88,7 @@
=for public_doc CreateTableSQLText
-Returns a string containg a sequence of SQL statements to create tables for all of
+Returns a string containing a sequence of SQL statements to create tables for all of
the models added to the SchemaGenerator.
=cut
|