Michael G Schwern <[EMAIL PROTECTED]> writes:

> On Tue, Jun 10, 2003 at 09:47:43AM -0400, Andy Dougherty wrote:
>> I don't know an easy way around this offhand.  Perhaps oneliner()
>> ought to simply eliminate newlines, instead of escaping them.
>
> That's a fallback.  It does produce a different program, consider:
>
>     perl -wle 'print "Hello
>                       World!"'
>
> but in the context of MakeMaker its good enough to say "don't do that".

I think the trick in the old MakeMaker sources was to split the
program in multiple -e chunks:

        perl -le 'eval {print "First line."} ' \
             -e  'or print "Second line.";'

-- 
andreas

Reply via email to