Michael G Schwern <[EMAIL PROTECTED]> writes:
>This is driving me up the wall.
>
>The ppd target currently looks something like this:
>
>ppd:
>        $(NOECHO) $(PERL) -e "print qq{<SOFTPKG NAME=\"$(DISTNAME)\" VERSION=\"6
>,05,0,0\">\n\t<TITLE>$(DISTNAME)</TITLE>\n\t<ABSTRACT></ABSTRACT>\n\t<AUTHOR></A
>UTHOR>\n}" > $(DISTNAME).ppd
>
>All this makes writing a simple command to write an arbitrary string to a
>file really difficult and worse it scatters escaping code all over
>MakeMaker.  It can't possibly be this bad.
>
>I'm tempted to come up with some sort of method which you pass in some perl
>code and it generates a platform-specific, safe one-liner.  That sort of
>solution rapidly gets complicated as you can see from the runperl() function
>in t/test.pl in the core, but it might at least let us put all the
>complications in one place.
>
>Thoughts?

ExtUtils::Command was my scheme to get rid of some long complex invokations 
in the Makefiles. 

-- 
Nick Ing-Simmons
http://www.ni-s.u-net.com/

Reply via email to