i'm sorry. embperl does remove '\r' on line 247 of eputil.c.
 
but actually it replaces it with a space, ' '. this makes a PERL string terminator, for example "END\r\n' become "END  \n", thus still makes PERL compile to error.
 
Yes, when I wrote my last answer I were in great hurry and didn't tought enought about your problem.  
 
 
 i downloaded most up-to-date embperl, version 1.3b3.  and it remains the same handling and the same error result.
 
Replaceing with space is much faster, then removing the \r and the HERE documents are the only place were this really is a problem. 
 
 so i could not but change line 247 of eputil.c to
*ep++ = '\n';
by myself and found it finally works!!
 
however, i perfer to complete removal of \r rather than replacement.
 
 
I will keep this in mind for the new Embperl 2 version, for now use the solution which Kee already pointed out, by using qq[ ].
 
Gerald
 

Reply via email to