From: Jesse Luehrs <doy@tozt.net> Date: Fri, 6 May 2011 22:34:25 +0000 (-0500) Subject: clean up docs of blessed and confess X-Git-Tag: 2.0003~41 X-Git-Url: http://git.shadowcat.co.uk/gitweb/gitweb.cgi?a=commitdiff_plain;h=84522dcf9f3bc66db526ecf9444fe18a7d7835b5;p=gitmo%2FMoose.git clean up docs of blessed and confess --- diff --git a/lib/Moose.pm b/lib/Moose.pm index 692b03a..96b0b89 100644 --- a/lib/Moose.pm +++ b/lib/Moose.pm @@ -795,16 +795,16 @@ an C<augment> method. You can think of C<inner> as being the inverse of C<super>; the details of how C<inner> and C<augment> work is best described in the L<Moose::Cookbook::Basics::Recipe6>. -=item B<confess> +=item B<blessed> -This is the C<Carp::confess> function, and exported here because I use it -all the time. +This is the C<Scalar::Util::blessed> function. It is highly recommended that +this is used instead of C<ref> anywhere you need to test for an object's class +name. -=item B<blessed> +=item B<confess> -This is the C<Scalar::Util::blessed> function. It is exported here because I -use it all the time. It is highly recommended that this is used instead of -C<ref> anywhere you need to test for an object's class name. +This is the C<Carp::confess> function, and exported here for historical +reasons. =back