From: Dave Rolsky Date: Mon, 29 Sep 2008 19:33:17 +0000 (+0000) Subject: Remove no longer relevant explanation of something the example no X-Git-Tag: 0.59~30 X-Git-Url: http://git.shadowcat.co.uk/gitweb/gitweb.cgi?a=commitdiff_plain;h=1bd94b87c120ed193f06ca5657baea5c1eebe5b4;p=gitmo%2FMoose.git Remove no longer relevant explanation of something the example no longer shows. --- diff --git a/lib/Moose/Unsweetened.pod b/lib/Moose/Unsweetened.pod index ca0d7ee..8f2b5be 100644 --- a/lib/Moose/Unsweetened.pod +++ b/lib/Moose/Unsweetened.pod @@ -226,12 +226,6 @@ that value in C<$birth_date> is actually defined and object before we go and call C on it! Leaving out those checks means our data validation code could actually cause our program to die. Oops. -There's one bit of code in there worth explaining, which is the -handling of the birth date for coercion. In both the constructor and -accessor, we first take a copy of the birth date before passing it to -the coercion routine. This is to avoid changing the value as it was -passed to those methods, which could cause problems for the caller. - Also note that if we add a superclass to Person we'll have to change the constructor to account for that.