summaryrefslogtreecommitdiff
path: root/pod/perlobj.pod
diff options
context:
space:
mode:
Diffstat (limited to 'pod/perlobj.pod')
-rw-r--r--pod/perlobj.pod3
1 files changed, 1 insertions, 2 deletions
diff --git a/pod/perlobj.pod b/pod/perlobj.pod
index d504d9ce2a..691ce8b9ee 100644
--- a/pod/perlobj.pod
+++ b/pod/perlobj.pod
@@ -305,10 +305,9 @@ less that the given argument. This method is normally called as a class
method. This method is also called when the C<VERSION> form of C<use> is
used.
-
use A 1.2 qw(some imported subs);
- A->require_version( 1.2 );
+ A->VERSION( 1.2 );
=item class ()