Package: libclass-makemethods-perl / 1.01-5

spelling.patch Patch series | download
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
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
276
277
278
279
280
281
282
283
284
285
286
287
288
289
290
291
292
293
294
295
296
297
298
299
300
301
302
303
304
305
306
307
308
309
310
311
312
313
314
315
316
317
318
319
320
321
322
323
324
325
326
327
328
329
330
331
332
333
334
335
336
337
338
339
340
341
342
343
344
345
346
347
348
349
350
351
352
353
354
355
356
357
358
359
360
361
362
363
364
365
366
367
368
369
370
371
372
373
374
375
376
377
378
379
380
381
382
383
384
385
386
387
388
389
390
391
392
393
394
395
396
397
398
399
400
401
402
Description: spelling fixes in the POD
Origin: vendor
Author: gregor herrmann <gregoa@debian.org>
Last-Update: 2016-06-10

--- a/MakeMethods.pm
+++ b/MakeMethods.pm
@@ -687,7 +687,7 @@
 Standard::Array provide object constructor and accessors. The
 Standard::Global provides for static data shared by all instances
 and subclasses, while the data for Standard::Inheritable methods
-trace the inheritance tree to find values, and can be overriden
+trace the inheritance tree to find values, and can be overridden
 for any subclass or instance.
 
 =item Composite (See L<Class::MakeMethods::Composite>.)
@@ -703,7 +703,7 @@
 and Composite::Array provide object constructor and accessors. The
 Composite::Global provides for static data shared by all instances
 and subclasses, while the data for Composite::Inheritable methods
-can be overriden for any subclass or instance.
+can be overridden for any subclass or instance.
 
 =item Template (See L<Class::MakeMethods::Template>.)
 
@@ -1274,7 +1274,7 @@
 
 =head2 Creating A Subclass
 
-The begining of a typical extension might look like the below:
+The beginning of a typical extension might look like the below:
 
   package My::UpperCaseMethods;
   use strict;
@@ -1301,7 +1301,7 @@
 of the same name. You can give your meta-method type any name that
 is a legal subroutine identifier.
 
-(Names begining with an underscore, and the names C<import> and
+(Names beginning with an underscore, and the names C<import> and
 C<make>, are reserved for internal use by Class::MakeMethods.)
 
 If you plan on distributing your extension, you may wish to follow
--- a/MakeMethods/Autoload.pm
+++ b/MakeMethods/Autoload.pm
@@ -165,7 +165,7 @@
 
 =item Construction of %s method %s failed to produce usable method
 
-Indicates that Autoload succesfully called Class::MakeMethods->make
+Indicates that Autoload successfully called Class::MakeMethods->make
 to generate the requested method, but afterwards was not able to
 invoke the generated method. You may have selected an incompatible
 method type, or the method may not have been installed sucesfully.
--- a/MakeMethods/Composite/Array.pm
+++ b/MakeMethods/Composite/Array.pm
@@ -647,7 +647,7 @@
   # Retrieve value by key
   print $obj->baz('foo');
   
-  # Retrive slice of values by position
+  # Retrieve slice of values by position
   print join(', ', $obj->baz( ['foo', 'bar'] ) );
   
   # Direct access to referenced hash
--- a/MakeMethods/Composite/Global.pm
+++ b/MakeMethods/Composite/Global.pm
@@ -446,7 +446,7 @@
   # Retrieve value by key
   print MyClass->baz('foo');
   
-  # Retrive slice of values by position
+  # Retrieve slice of values by position
   print join(', ', MyClass->baz( ['foo', 'bar'] ) );
   
   # Direct access to referenced hash
--- a/MakeMethods/Composite/Hash.pm
+++ b/MakeMethods/Composite/Hash.pm
@@ -572,7 +572,7 @@
   # Retrieve value by key
   print $obj->baz('foo');
   
-  # Retrive slice of values by position
+  # Retrieve slice of values by position
   print join(', ', $obj->baz( ['foo', 'bar'] ) );
   
   # Direct access to referenced hash
--- a/MakeMethods/Composite/Inheritable.pm
+++ b/MakeMethods/Composite/Inheritable.pm
@@ -407,7 +407,7 @@
   # Retrieve value by key
   print MyClass->baz('foo');
   
-  # Retrive slice of values by position
+  # Retrieve slice of values by position
   print join(', ', MyClass->baz( ['foo', 'bar'] ) );
   
   # Direct access to referenced hash
--- a/MakeMethods/Docs/Changes.pod
+++ b/MakeMethods/Docs/Changes.pod
@@ -158,7 +158,7 @@
 
 Added Autoload interface.
 
-Modifed Attribute interface to add "inheritable" default logic for
+Modified Attribute interface to add "inheritable" default logic for
 Maker class parameter. (Suggested by Malcolm Cook.)
 
 Fixed typo in documentation for Standard::Universal. (Spotted by
@@ -447,7 +447,7 @@
 =item v1.000.8 - 2001/01/19
 
 Following receipt of a suggestion to fork from the maintainer of
-Class::MethodMaker, renamed packge from Class::MethodMaker v2.0 to
+Class::MethodMaker, renamed package from Class::MethodMaker v2.0 to
 Class::Methods v1.000.
 
 Adjusted documentation to reflect fork, although additional cleanup
--- a/MakeMethods/Docs/ReadMe.pod
+++ b/MakeMethods/Docs/ReadMe.pod
@@ -116,7 +116,7 @@
 
 =head2 Tested Platforms
 
-This release has been tested succesfully on the following platforms:
+This release has been tested successfully on the following platforms:
 
   5.6.1 on darwin
 
@@ -155,7 +155,7 @@
 
 This module has been used in a variety of production systems and
 has been available on CPAN for over two years, with several other
-distributions dependant on it, so it would be fair to say that it
+distributions dependent on it, so it would be fair to say that it
 is fully released. 
 
 However, while the commonly-used portions are well tested, some of
--- a/MakeMethods/Emulator/Inheritable.pm
+++ b/MakeMethods/Emulator/Inheritable.pm
@@ -58,14 +58,14 @@
 
 =head1 DESCRIPTION
 
-This module is an adaptor that provides emulatation of Class::Data::Inheritable by invoking similiar functionality provided by Class::MakeMethods::ClassInherit.
+This module is an adaptor that provides emulatation of Class::Data::Inheritable by invoking similar functionality provided by Class::MakeMethods::ClassInherit.
 
 The public interface provided by Class::MakeMethods::Emulator::Inheritable is identical to that of Class::Data::Inheritable. 
 
 Class::Data::Inheritable is for creating accessor/mutators to class
 data.  That is, if you want to store something about your class as a
 whole (instead of about a single object).  This data is then inherited
-by your subclasses and can be overriden.
+by your subclasses and can be overridden.
 
 =head1 USAGE
 
@@ -134,7 +134,7 @@
 
 However, should Raygun decide to set its own Suitcase() it has now
 "overridden" Pere::Ubu and is on its own, just like if it had
-overriden a method:
+overridden a method:
 
   # Raygun has an orange suitcase, Pere::Ubu's is still Blue.
   Raygun->Suitcase('Orange');
--- a/MakeMethods/Emulator/MethodMaker.pm
+++ b/MakeMethods/Emulator/MethodMaker.pm
@@ -77,7 +77,7 @@
 
 Direct Access
 
-Replace occurances in your code of C<Class::MethodMaker> with C<Class::MakeMethods::Emulator::MethodMaker>.
+Replace occurrences in your code of C<Class::MethodMaker> with C<Class::MakeMethods::Emulator::MethodMaker>.
 
 =item *
 
--- a/MakeMethods/Standard/Array.pm
+++ b/MakeMethods/Standard/Array.pm
@@ -410,7 +410,7 @@
   # Retrieve value by key
   print $obj->baz('foo');
   
-  # Retrive slice of values by position
+  # Retrieve slice of values by position
   print join(', ', $obj->baz( ['foo', 'bar'] ) );
   
   # Direct access to referenced hash
--- a/MakeMethods/Standard/Global.pm
+++ b/MakeMethods/Standard/Global.pm
@@ -277,7 +277,7 @@
   # Retrieve value by key
   print MyClass->baz('foo');
   
-  # Retrive slice of values by position
+  # Retrieve slice of values by position
   print join(', ', MyClass->baz( ['foo', 'bar'] ) );
   
   # Direct access to referenced hash
--- a/MakeMethods/Standard/Hash.pm
+++ b/MakeMethods/Standard/Hash.pm
@@ -367,7 +367,7 @@
   # Retrieve value by key
   print $obj->baz('foo');
   
-  # Retrive slice of values by position
+  # Retrieve slice of values by position
   print join(', ', $obj->baz( ['foo', 'bar'] ) );
   
   # Direct access to referenced hash
--- a/MakeMethods/Standard/Inheritable.pm
+++ b/MakeMethods/Standard/Inheritable.pm
@@ -313,7 +313,7 @@
   # Retrieve value by key
   print MyClass->baz('foo');
   
-  # Retrive slice of values by position
+  # Retrieve slice of values by position
   print join(', ', MyClass->baz( ['foo', 'bar'] ) );
   
   # Direct access to referenced hash
--- a/MakeMethods/Standard/Universal.pm
+++ b/MakeMethods/Standard/Universal.pm
@@ -98,7 +98,7 @@
 =back
 
 This is intended to support the use of abstract methods, that must
-be overidden in a useful subclass.
+be overridden in a useful subclass.
 
 If each subclass is expected to provide an implementation of a given method, using this abstract method will replace the generic error message below with the clearer, more explicit error message that follows it:
 
@@ -284,7 +284,7 @@
 
 =back
 
-You might want to create and use such methods to faciliate composition of objects from smaller objects.
+You might want to create and use such methods to facilitate composition of objects from smaller objects.
 
 Sample declaration and usage:
 
--- a/MakeMethods/Template.pm
+++ b/MakeMethods/Template.pm
@@ -1053,7 +1053,7 @@
 
 Each template may include a set of default parameters for all declarations as C<params =E<gt> I<hash_ref>>.
 
-Template-default parameters can be overrridden by interface '-params', described below, and and method-specific parameters, described above.
+Template-default parameters can be overridden by interface '-params', described below, and and method-specific parameters, described above.
 
 =head2 Defining Interfaces
 
@@ -1081,7 +1081,7 @@
 by InsideOut meta-methods.
 
 In addition to the name-to-behavior correspondences described above,
-interfaces may also contain additional entries with keys begining
+interfaces may also contain additional entries with keys beginning
 with the '-' character which are interpreted as follows:
 
 =over 4
@@ -1114,7 +1114,7 @@
 interface can be overridden by providing a new value, or a name
 can be removed by mapping it to undef or the empty string.
 
-Example: The following defines a get-set meta-method h, but supresses
+Example: The following defines a get-set meta-method h, but suppresses
 the clear_h method:
 
   use Class::MakeMethods::Template::Hash
--- a/MakeMethods/Template/ClassName.pm
+++ b/MakeMethods/Template/ClassName.pm
@@ -57,7 +57,7 @@
 
 =item *
 
-if its a a package within the namespace of the original: the distingushing name within that namespace, without leading C<::>
+if its a a package within the namespace of the original: the distinguishing name within that namespace, without leading C<::>
 
 =item *
 
@@ -202,7 +202,7 @@
 Takes a single string or a reference to an array of strings as its argument. 
 For each string, creates a new anonymous hash and associated accessor methods 
 that will map scalar values to classes in the calling package's subclass 
-hiearchy.
+hierarchy.
 
 The accessor methods provide an interface to the hash as illustrated below. 
 Note that several of these functions operate quite differently depending on the 
@@ -232,7 +232,7 @@
 
 =item @all_classes = $class_or_ref->unique_x_values;
 
-Returns a list of the classes associated with this registry, with no more than one occurance of any value.
+Returns a list of the classes associated with this registry, with no more than one occurrence of any value.
 
 =item %mapping = $class_or_ref->x_hash;
 
--- a/MakeMethods/Template/Universal.pm
+++ b/MakeMethods/Template/Universal.pm
@@ -218,7 +218,7 @@
   );
 
 This is intended to support the use of abstract methods, that must
-be overidden in a useful subclass.
+be overridden in a useful subclass.
 
 If each subclass is expected to provide an implementation of a given method, using this abstract method will replace the generic error message below with the clearer, more explicit error message that follows it:
 
--- a/MakeMethods/Utility/Inheritable.pm
+++ b/MakeMethods/Utility/Inheritable.pm
@@ -38,7 +38,7 @@
 
 This module provides several functions which allow you to store values in a hash corresponding to both objects and classes, and to retrieve those values by searching a object's inheritance tree until it finds a matching entry.
 
-This functionality is used by Class::MakeMethods::Standard::Inheritable and Class::MakeMethods::Composite::Inheritable to construct methods that can both store class data and be overriden on a per-object level.
+This functionality is used by Class::MakeMethods::Standard::Inheritable and Class::MakeMethods::Composite::Inheritable to construct methods that can both store class data and be overridden on a per-object level.
 
 =cut
 
--- a/MakeMethods/Utility/TextBuilder.pm
+++ b/MakeMethods/Utility/TextBuilder.pm
@@ -128,7 +128,7 @@
 
 After any initial string and code-ref rules have been applied, the hash of substitution rules are applied.
 
-The text will be searched for occurances of the keys of the substitution hash, which will be modified based on the corresponding value in the hash. If the substitution key ends with '{}', the search will also match a balanced block of braces, and that value will also be used in the substitution.
+The text will be searched for occurrences of the keys of the substitution hash, which will be modified based on the corresponding value in the hash. If the substitution key ends with '{}', the search will also match a balanced block of braces, and that value will also be used in the substitution.
 
 The hash-ref may contain the following types of rules:
 
@@ -138,31 +138,31 @@
 
 'string' => 'string'
 
-Occurances of the first string are to be replaced by the second.
+Occurrences of the first string are to be replaced by the second.
 
 =item *
 
 'string' => I<code_ref>
 
-Occurances of the string are to be replaced by the results of calling the subroutine with no arguments.
+Occurrences of the string are to be replaced by the results of calling the subroutine with no arguments.
 
 =item *
 
 'string{}' => 'string'
 
-Occurances of the first string and subsequent block of braces are replaced by a copy of the second string in which any '*' characters have first been replaced by the contents of the brace block. 
+Occurrences of the first string and subsequent block of braces are replaced by a copy of the second string in which any '*' characters have first been replaced by the contents of the brace block.
 
 =item *
 
 'string{}' => I<code_ref>
 
-Occurances of the string and subsequent block of braces are replaced by the results of calling the subroutine with the contents of the brace block as its only argument. 
+Occurrences of the string and subsequent block of braces are replaced by the results of calling the subroutine with the contents of the brace block as its only argument.
 
 =item *
 
 'string{}' => I<hash_ref>
 
-Occurances of the string and subsequent block of braces are replaced by using the contents of the brace block as a key into the provided hash-ref.
+Occurrences of the string and subsequent block of braces are replaced by using the contents of the brace block as a key into the provided hash-ref.
 
 =back
 
--- a/README
+++ b/README
@@ -84,7 +84,7 @@
 
   Tested Platforms
 
-    This release has been tested succesfully on the following platforms:
+    This release has been tested successfully on the following platforms:
 
       5.6.1 on darwin
 
--- a/tests/xemulator/class_inheritable/emulate.t
+++ b/tests/xemulator/class_inheritable/emulate.t
@@ -74,7 +74,7 @@
 ::ok( Suitcase->Ubu('Pere'));
 ::ok( Suitcase->can('_Ubu_accessor') );
 
-# Test that superclasses don't effect overriden children.
+# Test that superclasses don't effect overridden children.
 Ray->Ubu('Squonk');
 ::ok( Ray->Ubu eq 'Squonk');
 ::ok( Gun->Ubu eq 'Pere');
--- a/tests/xemulator/class_inheritable/transparent.t
+++ b/tests/xemulator/class_inheritable/transparent.t
@@ -74,7 +74,7 @@
 ::ok( Suitcase->Ubu('Pere'));
 ::ok( Suitcase->can('_Ubu_accessor') );
 
-# Test that superclasses don't effect overriden children.
+# Test that superclasses don't effect overridden children.
 Ray->Ubu('Squonk');
 ::ok( Ray->Ubu eq 'Squonk');
 ::ok( Gun->Ubu eq 'Pere');