develooper Front page | perl.perl5.porters | Postings from October 2003

ExtUtils::MakeMaker incompatibilities

From:
Alberto Manuel Brandão Simões
Date:
October 8, 2003 09:24
Subject:
ExtUtils::MakeMaker incompatibilities
Message ID:
1065630670.5800.53.camel@eremita.di.uminho.pt
Hi!

This is my makemaker for perl 5.8.0

WriteMakefile(
              'NAME'         => 'XML::DT',
              'VERSION_FROM' => 'DT.pm',
              'PM_FILTER'    => qq(perl -npe \\"s/\\#$pattern\\#//;\\"),
             );

Which does not works with perl 5.8.1:

Can't find string terminator '"' anywhere before EOF at -e line 1.
sh: line 1: ": command not found
make: *** [pm_to_blib] Broken pipe

This is my makemaker for perl 5.8.1

WriteMakefile(
              'NAME'         => 'XML::DT',
              'VERSION_FROM' => 'DT.pm',
              'PM_FILTER'    => qq(perl -npe \"s/\\#$pattern\\#//;\"),
             );

Which does not works with perl 5.8.0:

Can't find string terminator "'" anywhere before EOF at -e line 1.
/bin/sh: line 1: '): command not found
make: *** [pm_to_blib] Error 127

PLZ!! Can anybody help me with a version working on both? :)

~





nntp.perl.org: Perl Programming lists via nntp and http.
Comments to Ask Bjørn Hansen at ask@perl.org | Group listing | About