diff options
author | Perl 5 Porters <perl5-porters@africa.nicoh.com> | 1996-03-11 07:12:18 +0000 |
---|---|---|
committer | Charles Bailey <bailey@genetics.upenn.edu> | 1996-03-11 07:12:18 +0000 |
commit | d28ebecde48fa14623be7a09bf607426f095b6c1 (patch) | |
tree | 0aed4eb017845069b03dc4d8a5ceb649a06012ac /pod/perlobj.pod | |
parent | 94d58c47cfbe97ca0a689bcd5b7f9132f7918fee (diff) | |
download | perl-d28ebecde48fa14623be7a09bf607426f095b6c1.tar.gz |
Fix miscellaneous typos
Diffstat (limited to 'pod/perlobj.pod')
-rw-r--r-- | pod/perlobj.pod | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/pod/perlobj.pod b/pod/perlobj.pod index 59c6f1244c..81c6c96246 100644 --- a/pod/perlobj.pod +++ b/pod/perlobj.pod @@ -76,8 +76,8 @@ so that your constructors may be inherited: return $self; } -Or if you expect people to call not just C<CLASS->new()> but also -C<$obj->new()>, then use something like this. The initialize() +Or if you expect people to call not just C<CLASS-E<gt>new()> but also +C<$obj-E<gt>new()>, then use something like this. The initialize() method used will be of whatever $class we blessed the object into: @@ -203,7 +203,7 @@ indirect object slot: display {find Critter "Fred"} 'Height', 'Weight'; -For C++ fans, there's also a syntax using -> notation that does exactly +For C++ fans, there's also a syntax using -E<gt> notation that does exactly the same thing. The parentheses are required if there are any arguments. $fred = Critter->find("Fred"); @@ -287,7 +287,7 @@ automatically when the current object is freed. An indirect object is limited to a name, a scalar variable, or a block, because it would have to do too much lookahead otherwise, just like any -other postfix dereference in the language. The left side of -> is not so +other postfix dereference in the language. The left side of -E<gt> is not so limited, because it's an infix operator, not a postfix operator. That means that below, A and B are equivalent to each other, and C and D |