Skip Menu | will be shut down on March 1st, 2021.

This queue is for tickets about the Class-C3-Componentised CPAN distribution.

Report information
The Basics
Id: 43040
Status: resolved
Priority: 0/
Queue: Class-C3-Componentised

Owner: Nobody in particular
Requestors: TJC [...]

Bug Information
Severity: Normal
Broken in: 1.0003
Fixed in: 1.0006


Subject: [PATCH] Documention for ensure_class_found to warn about @INC coderef issue.
Documention patch.
Subject: 0001-POD-Note-that-ensure_class_found-is-incompatible.patch
From f18d8c62474ab326fd9bcff0509c50aaa232b658 Mon Sep 17 00:00:00 2001 From: Toby Corkindale <> Date: Thu, 5 Feb 2009 11:49:05 +1100 Subject: [PATCH] POD - Note that ensure_class_found() is incompatible with coderefs in @INC, and thus potentially troublesome when used with PAR. Signed-off-by: Toby Corkindale <> --- lib/Class/C3/ | 7 ++++++- 1 files changed, 6 insertions(+), 1 deletions(-) diff --git a/lib/Class/C3/ b/lib/Class/C3/ index ed0ac41..7d28416 100755 --- a/lib/Class/C3/ +++ b/lib/Class/C3/ @@ -136,7 +136,12 @@ sub ensure_class_loaded { =head2 ensure_class_found Returns true if the specified class is installed or already loaded, false -otherwise +otherwise. + +Note that the underlying mechanism (Class::Inspector->installed()) used by this +sub will not, at the time of writing, correctly function when @INC includes +coderefs. Since PAR relies upon coderefs in @INC, this function should be +avoided in modules that are likely to be included within a PAR. =cut --

This service is sponsored and maintained by Best Practical Solutions and runs on infrastructure.

Please report any issues with to