perlreapi: use parent in example, not base
authorRicardo Signes <rjbs@cpan.org>
Mon, 9 Sep 2013 02:26:10 +0000 (22:26 -0400)
committerRicardo Signes <rjbs@cpan.org>
Thu, 12 Sep 2013 23:49:17 +0000 (19:49 -0400)
pod/perlreapi.pod

index cfc41d7..9030e0d 100644 (file)
@@ -418,7 +418,7 @@ doesn't have to modify the value.  This is exactly how tied variables
 behave in the same situation:
 
     package CaptureVar;
-    use base 'Tie::Scalar';
+    use parent 'Tie::Scalar';
 
     sub TIESCALAR { bless [] }
     sub FETCH { undef }