dagolden / Capture-Tiny

(Perl) Capture STDOUT and STDERR from Perl, XS or external programs
http://search.cpan.org/dist/Capture-Tiny/
39 stars 19 forks source link

Makefile.PL has parse errors #25

Closed roosto closed 9 years ago

roosto commented 9 years ago

running perl Makefile.PL INSTALL_BASE=$HOME/perl5 I get the following errors with $? == 255:

Hexadecimal number > 0xffffffff non-portable at Makefile.PL line 80.
"my" variable %WriteMakefileArgs masks earlier declaration in same scope at Makefile.PL line 91.
"my" variable %FallbackPrereqs masks earlier declaration in same scope at Makefile.PL line 126.
Generating a Unix-style Makefile
Writing Makefile for Capture::Tiny
Writing MYMETA.yml and MYMETA.json
Undefined subroutine &main::HASH called at Makefile.PL line 80.

perl -cw Makefile.PL gives me the same.

I was able to get everything to work by commenting out line 80, which is: HASH(0x7fda2a426db8)

dagolden commented 9 years ago

Sorry. I'd fixed that in my master and forgot to push it. Pushed now.