That is not completely correct.
When using Perl's default I/O layer, print "\n" will emit <LF> on Unix and <CR><LF> on Windows.
When reading a text line (Unix or Windows), the <CR> will be deleted, if it exists.
Update: When using "standard default I/O methods"
In reply to Re^12: How do I display only matches (updated)
by Marshall
in thread (SOLVED) How do I display only matches
by tem2
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |