From: Leon Brocard Date: Wed, 8 Jul 2009 11:31:32 +0000 (+0100) Subject: Mark up BUILD as code X-Git-Tag: 0.88~36^2~3 X-Git-Url: http://git.shadowcat.co.uk/gitweb/gitweb.cgi?a=commitdiff_plain;h=beb804d9226b84b8bc581da310c953e48f2ae7ef;p=gitmo%2FMoose.git Mark up BUILD as code --- diff --git a/lib/Moose/Manual/FAQ.pod b/lib/Moose/Manual/FAQ.pod index 442e6d1..4f5888a 100644 --- a/lib/Moose/Manual/FAQ.pod +++ b/lib/Moose/Manual/FAQ.pod @@ -298,14 +298,14 @@ This will allow the coercion to apply only to strings that fail to look like an =head3 Why is BUILD not called for my composed roles? -BUILD is never called in composed roles. The primary reason is that +C is never called in composed roles. The primary reason is that roles are B order sensitive. Roles are composed in such a way that the order of composition does not matter (for information on the deeper theory of this read the original traits papers here L). Because roles are essentially unordered, it would be impossible to -determine the order in which to execute the BUILD methods. +determine the order in which to execute the C methods. As for alternate solutions, there are a couple.