Skip Menu |

This queue is for tickets about the CPAN-Cache CPAN distribution.

Report information
The Basics
Id: 55160
Status: open
Priority: 0/
Queue: CPAN-Cache

People
Owner: Nobody in particular
Requestors: yanick+cpan [...] babyl.dyndns.org
Cc:
AdminCc:

Bug Information
Severity: Important
Broken in: 0.02
Fixed in: (no value)



Subject: function typo: _static should be static
In mirror(), the method call _static should be 'static'. Patch attached.
Subject: 0001-function-is-static-not-_static.patch
From 1f2a59e36eec0720e2ec6019ba58acf8b8682a6d Mon Sep 17 00:00:00 2001 From: Yanick Champoux <yanick@babyl.dyndns.org> Date: Tue, 2 Mar 2010 20:06:18 -0500 Subject: [PATCH] function is 'static', not '_static' --- lib/CPAN/Cache.pm | 2 +- 1 files changed, 1 insertions(+), 1 deletions(-) diff --git a/lib/CPAN/Cache.pm b/lib/CPAN/Cache.pm index 6b32162..0df4fb2 100644 --- a/lib/CPAN/Cache.pm +++ b/lib/CPAN/Cache.pm @@ -239,7 +239,7 @@ sub mirror { # If any only if a path is "stable" and the file already exists, # it is guarenteed not to change, and we don't have to do the # mirroring operation. - if ( $self->_static($path) and -f $file->path ) { + if ( $self->static($path) and -f $file->path ) { return $file; } -- 1.6.3.3
On Tue Mar 02 20:09:40 2010, YANICK wrote: Show quoted text
> In mirror(), the method call _static should be 'static'. Patch attached.
Just offering... I could also prepare a new distribution with the patch, if it could help...? Or, if you are so inclined, I would also be willing to take the maintainership of the module. I need another of those like I need a hole in my head, but... I really want to see that patch in. :-)