Perl / perl5

🐪 The Perl programming language
https://dev.perl.org/perl5/
Other
1.85k stars 527 forks source link

Typo in perltooc? #5994

Closed p5pRT closed 21 years ago

p5pRT commented 21 years ago

Migrated from rt.perl.org#17819 (status was 'resolved')

Searchable as RT17819$

p5pRT commented 21 years ago

From rwilkinson@star.net.uk

Hello

  I'm currently reading the fine documentation about class data via perldoc perltooc\, and came across the following sentence.

It has state\, behavior\, and identify\, the three crucial components of an object system.

  I *think* that the sentence would be more syntactically correct if "identify" were replaced by "identity"\, since the latter is a noun\, and the former a verb. I may well be wrong\, though.

Bob

P.S. I have enclosed a unified diff file.

p5pRT commented 21 years ago

From rwilkinson@star.net.uk

perltooc.diff ```diff --- /usr/share/perl/5.8.0/pod/perltooc.pod 2002-09-14 17:37:06.000000000 +0100 +++ perltooc.pod 2002-10-09 10:39:34.000000000 +0100 @@ -624,7 +624,7 @@ returned by the &bigbang "constructor" is not a reference to a blessed object at all. It's just the class's own name. A class name is, for virtually all intents and purposes, a perfectly acceptable object. -It has state, behavior, and identify, the three crucial components +It has state, behavior, and identity, the three crucial components of an object system. It even manifests inheritance, polymorphism, and encapsulation. And what more can you ask of an object? ```
p5pRT commented 21 years ago

From ams@wiw.org

At 2002-10-09 09​:50​:40 -0000\, perlbug@​perl.org wrote​:

-It has state\, behavior\, and identify\, the three crucial components +It has state\, behavior\, and identity\, the three crucial components

Thanks\, applied. (#17995)

-- ams

p5pRT commented 21 years ago

@ask - Status changed from 'new' to 'resolved'