in reply to Re^6: What's the difference between a hash ?
in thread What's the difference between a hash ?

perhaps it's just a simple syntax error in the code you posted

I completely missed the absence of commas in the DD output, which means it needs a join also.

my %options = ( END local $Data::Dumper::Terse = 1; local $Data::Dumper::Indent = 1; print MF join ',', Data::Dumper::Dumper( %options); print MF <<END; ); WriteMakefile(\%options); # Remove the Makefile dependency. Causes problems on a few systems. sub MY::makefile { '' } END

Again, that's not tested.

Update: Now it is, producing

use ExtUtils::MakeMaker; my %options = ( 'TYPEMAPS' ,[ 'C:\\Perl\\lib\\ExtUtils\\typemap' ] ,'NAME' ,'_550745' ,'INC' ,'-Ic:/test' ,'VERSION' ,'0.00' ); WriteMakefile(%options); # Remove the Makefile dependency. Causes problems on a few systems. sub MY::makefile { '' }

Examine what is said, not who speaks -- Silence betokens consent -- Love the truth but pardon error.
Lingua non convalesco, consenesco et abolesco. -- Rule 1 has a caveat! -- Who broke the cabal?
"Science is about questioning the status quo. Questioning authority".
In the absence of evidence, opinion is indistinguishable from prejudice.