diff options
Diffstat (limited to 'pod/perlobj.pod')
-rw-r--r-- | pod/perlobj.pod | 17 |
1 files changed, 0 insertions, 17 deletions
diff --git a/pod/perlobj.pod b/pod/perlobj.pod index 9b1ede111f..c8b85b4b7d 100644 --- a/pod/perlobj.pod +++ b/pod/perlobj.pod @@ -313,23 +313,6 @@ C<VERSION> form of C<use>. # implies: A->VERSION(1.2); -=item class() - -C<class> returns the class name of its object. - -=item is_instance() - -C<is_instance> returns true if its object is an instance of some -class, false if its object is the class (package) itself. Example - - A->is_instance(); # False - - $var = 'A'; - $var->is_instance(); # False - - $ref = bless [], 'A'; - $ref->is_instance(); # True - =back B<NOTE:> C<can> directly uses Perl's internal code for method lookup, and |