Alan Burlison <[EMAIL PROTECTED]> writes:
>Andy Dougherty wrote:
>> 
>> So the issue is that with GNU make (and 4.4BSD make), perl ends up
>> seeing
>> 
>>     -le 'eval {print "First line."} or print  "Second line.";'
>> 
>
>However, I've thought of a nasty hack: stick a '#' character before the \ - 
>that way perl will ignore it:
>
>broke:
>         @perl -le 'eval {print "First line."} \
>         or print  "Second line.";'
>ok:
>         @perl -le 'eval {print "First line."} #\
>         or print  "Second line.";'

But that breaks the GNU makes which would see 

       -le 'eval {print "First line."} # or print  "Second line.";'

and we just commented out the 2nd line ;-)

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

Reply via email to