[libdist-zilla-role-bootstrap-perl] 94/101: version, not array offset, dolt

Axel Beckert abe at deuxchevaux.org
Sat Aug 8 11:58:41 UTC 2015


This is an automated email from the git hooks/post-receive script.

abe pushed a commit to annotated tag 0.2.2-source
in repository libdist-zilla-role-bootstrap-perl.

commit d36b1e8eb280ff6719ccdea239ee6d24826d80f0
Author: Kent Fredric <kentfredric at gmail.com>
Date:   Tue Nov 5 01:18:02 2013 +1300

    version, not array offset, dolt
---
 lib/tools.pm | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/lib/tools.pm b/lib/tools.pm
index da14e63..121fe78 100644
--- a/lib/tools.pm
+++ b/lib/tools.pm
@@ -83,7 +83,7 @@ sub get_sterile {
   return if $got_sterile;
   my $cwd = cwd();
   chdir '/tmp';
-  my $version = $[;
+  my $version = $];
   safe_exec(
     'git', 'clone', '--depth=10',
     '--branch=' . $version,

-- 
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/pkg-perl/packages/libdist-zilla-role-bootstrap-perl.git



More information about the Pkg-perl-cvs-commits mailing list