Skip Menu |

This queue is for tickets about the Module-Load CPAN distribution.

Report information
The Basics
Id: 55123
Status: resolved
Worked: 15 min
Priority: 0/
Queue: Module-Load

People
Owner: BINGOS [...] cpan.org
Requestors: mschwern [...] cpan.org
Cc:
AdminCc:

Bug Information
Severity: Normal
Broken in: 0.16
Fixed in: (no value)



Subject: Docs have rule 3 backwards.
The documentation has rule #3 backwards. In case of ambiguity, File.pm will be checked before File. This is Good if you consider Module::Load's primary use case to be loading modules rather than files in @INC. Doc patch attached.
Subject: 0001-The-docs-got-it-backwards-about-File-vs-File.pm-whic.patch
From d81c7d8f8e70523ff084ce6dfbf3561125661be5 Mon Sep 17 00:00:00 2001 From: Michael G. Schwern <schwern@pobox.com> Date: Mon, 1 Mar 2010 21:18:31 -0800 Subject: [PATCH] The docs got it backwards about File vs File.pm, which is a good thing. --- lib/Module/Load.pm | 6 +++--- 1 files changed, 3 insertions(+), 3 deletions(-) diff --git a/lib/Module/Load.pm b/lib/Module/Load.pm index 08f64b2..8dd0981 100644 --- a/lib/Module/Load.pm +++ b/lib/Module/Load.pm @@ -141,9 +141,9 @@ If the argument matches only C<[\w:']>, it must be a module =item * If the argument matches only C<\w>, it could either be a module or a -file. We will try to find C<file> first in C<@INC> and if that fails, -we will try to find C<file.pm> in @INC. -If both fail, we die with the respective error messages. +file. We will try to find C<file.pm> first in C<@INC> and if that +fails, we will try to find C<file> in @INC. If both fail, we die with +the respective error messages. =back -- 1.7.0
Hi, Thanks for the patch. According to my records this issue is resolved Changes for 0.18 Tue Mar 2 15:54:30 2010 ============================================ * Documentation fix from Michael Schwern RT #55123 Many thanks.