summaryrefslogtreecommitdiff
path: root/pod/perlobj.pod
diff options
context:
space:
mode:
authorRicardo SIGNES <rjbs@cpan.org>2008-05-19 06:14:02 -0400
committerSteve Peters <steve@fisharerojo.org>2008-05-19 15:51:00 +0000
commitbcb8f0e81fd4f3ff4e9c5cf62b09223b964ff276 (patch)
treed44075456af7be21fbbf0a72e33240925ef98e31 /pod/perlobj.pod
parent91d0cbf6b40b82109d6a7e51347fc5d05e3eaac2 (diff)
downloadperl-bcb8f0e81fd4f3ff4e9c5cf62b09223b964ff276.tar.gz
correct errors / omissions in documenting DOES
Message-ID: <20080519141402.GA54401@knight.local> p4raw-id: //depot/perl@33869
Diffstat (limited to 'pod/perlobj.pod')
-rw-r--r--pod/perlobj.pod7
1 files changed, 7 insertions, 0 deletions
diff --git a/pod/perlobj.pod b/pod/perlobj.pod
index b6638e81b7..b0592ffc6d 100644
--- a/pod/perlobj.pod
+++ b/pod/perlobj.pod
@@ -407,6 +407,13 @@ X<invocant> X<blessed>
C<blessed> returns the name of the package the argument has been
blessed into, or C<undef>.
+=item DOES(ROLE)
+
+C<DOES> returns I<true> if its object claims to perform the role C<ROLE>.
+
+By default, the response to C<DOES> is the same as the response to ISA. For
+more information on C<DOES> and other universal methods, see L<UNIVERSAL>.
+
=item can(METHOD)
X<can>