From: Peter Rabbitson Date: Tue, 16 Nov 2010 01:08:28 +0000 (+0100) Subject: Fix wording on global unquote X-Git-Tag: 0.009001~3 X-Git-Url: http://git.shadowcat.co.uk/gitweb/gitweb.cgi?a=commitdiff_plain;h=0d39f9d397a590b65690ec0ac4a2384c82f00944;p=gitmo%2FMoo.git Fix wording on global unquote --- diff --git a/lib/Role/Tiny.pm b/lib/Role/Tiny.pm index 57028ed..00bc654 100644 --- a/lib/Role/Tiny.pm +++ b/lib/Role/Tiny.pm @@ -272,6 +272,8 @@ from the role. If a method that the role L to be implemented is not implemented, role application will fail loudly. +=back + Unlike L, where the B class inherited from "wins," role composition is the other way around, where first wins. In a more complete system (see L) roles are checked to see if they clash. The goal of this diff --git a/lib/Sub/Quote.pm b/lib/Sub/Quote.pm index f58652a..f8087e7 100644 --- a/lib/Sub/Quote.pm +++ b/lib/Sub/Quote.pm @@ -195,10 +195,10 @@ passed subroutine name on undefer. my $coderef = unquote_sub $sub; -Forcibly replace subroutine with actual code. Note that as many subs are -unquoted at a time for performance reasons. This means that if you have a -syntax error in one of your quoted subs you may find out when some other sub -is unquoted. +Forcibly replace subroutine with actual code. Note that for performance +reasons all quoted subs declared so far will be globally unquoted/parsed in +a single eval. This means that if you have a syntax error in one of your +quoted subs you may find out when some other sub is unquoted. If $sub is not a quoted sub, this is a no-op.