diff options
Diffstat (limited to 'pod/perlobj.pod')
-rw-r--r-- | pod/perlobj.pod | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/pod/perlobj.pod b/pod/perlobj.pod index acbd5314c8..54e052ff45 100644 --- a/pod/perlobj.pod +++ b/pod/perlobj.pod @@ -64,8 +64,9 @@ that wish to call methods in the class as part of the construction: return $self; } -If you care about inheritance (and you should; see L<perlmod/"Modules: -Creation, Use and Abuse">), then you want to use the two-arg form of bless +If you care about inheritance (and you should; see +L<perlmod/"Modules: Creation, Use and Abuse">), +then you want to use the two-arg form of bless so that your constructors may be inherited: sub new { |