in reply to Unix \n vs. DOS \n
Otherwise, if you're inside perl script, then perl makes UNIX-like line endings, for example in HERE-IN strings and inside any strings:
and$a=<<"EOS"; abcd efgh EOS
and$a="abcd efgh ";
are the same.$a="abcd\nefgh\n";
|
|---|