Skip to content

Instantly share code, notes, and snippets.

@ingydotnet
Created June 13, 2011 08:47
Show Gist options
  • Save ingydotnet/1022483 to your computer and use it in GitHub Desktop.
Save ingydotnet/1022483 to your computer and use it in GitHub Desktop.
> tar xzf Downloads/Module-Compile-0.22.tar.gz
> cd Module-Compile-0.22/
> git init; git add .
Initialized empty Git repository in /home/ingy/Module-Compile-0.22/.git/
> vim inc/Module/Install/Makefile.pm
> git diff
diff --git a/inc/Module/Install/Makefile.pm b/inc/Module/Install/Makefile.pm
index 4c71003..bcf9682 100644
--- a/inc/Module/Install/Makefile.pm
+++ b/inc/Module/Install/Makefile.pm
@@ -347,6 +347,7 @@ EOT
}
}
+ use XXX; XXX \%args;
my $mm = ExtUtils::MakeMaker::WriteMakefile(%args);
$self->fix_up_makefile($mm->{FIRST_MAKEFILE} || 'Makefile');
}
> perl Makefile.PL
---
ABSTRACT: Perl Module Compilation
AUTHOR: 'Ingy döt Net <[email protected]>'
DISTNAME: Module-Compile
LICENSE: perl
MIN_PERL_VERSION: 5.008003
NAME: Module::Compile
NO_META: 1
PREREQ_PM:
Digest::SHA1: 2.13
ExtUtils::MakeMaker: 6.42
VERSION: 0.22
VERSION_FROM: lib/Module/Compile.pm
clean:
FILES: t/lib/*.pmc t/*.tc
dist: {}
realclean:
FILES: MYMETA.yml
...
at inc/Module/Install/Makefile.pm line 349
END failed--call queue aborted.
>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment