File: 01-fix-manpage.diff

package info (click to toggle)
libclass-default-perl 1.51-5
  • links: PTS, VCS
  • area: main
  • in suites: bookworm, forky, sid, trixie
  • size: 180 kB
  • sloc: perl: 1,006; makefile: 2
file content (38 lines) | stat: -rw-r--r-- 1,721 bytes parent folder | download | duplicates (2)
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
Description: Fix man page
Author: Fabrizio Regalli <fabreg@fabreg.it>
Reviewed-by: gregor herrmann <gregoa@debian.org>
Last-Update: 2016-08-18
Forwarded: https://rt.cpan.org/Ticket/Display.html?id=117049
Bug: https://rt.cpan.org/Ticket/Display.html?id=117049

--- a/lib/Class/Default.pm
+++ b/lib/Class/Default.pm
@@ -98,8 +98,8 @@
 method, like C<CGI->header>, your call is being applied to a default
 instantiation of a CGI object.
 
-This technique appears to be especially usefull when writing modules that you
-want to be used in either a single use or a persistant environment. In a CGI
+This technique appears to be especially useful when writing modules that you
+want to be used in either a single use or a persistent environment. In a CGI
 like environment, you want the simplicity of a static interface. You can
 call C<Class->method> directly, without having to pass an instantiation 
 around constantly.
@@ -203,7 +203,7 @@
   print "The default slashdot user is " . Slashdot::User->name
       . " and they like the colour " . Slashdot::User->favourite_color;
 
-Remember that the default object is persistant, so changes made to the
+Remember that the default object is persistent, so changes made to the
 statically accessible object can be recovered later.
 
 =head2 Getting access to the default object
@@ -224,7 +224,7 @@
 
 The C<_class> method provides the opposite of the C<_self> method. Instead
 of always getting an object, C<_class> will always get the class name, so
-a method can be guarenteed to run in a static context. This is not 
+a method can be guaranteed to run in a static context. This is not
 essential to the use of a C<Class::Default> module, but is provided as a
 convenience.