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";
In reply to Re: Unix \n vs. DOS \n
by vkonovalov
in thread Unix \n vs. DOS \n
by greenhorn
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |