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