Wednesday, September 30, 2009

/bin/perl^M: bad interpreter

After digging for a while, it turns out the cause is the perl interpreter on Linux cannot recognize the end of line character CRLF in windows files. What it expects is LF.

Using EOL as end of statement is not system independent.

No comments:

Post a Comment