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 { '' }
|
|---|