I've searched extensively trying to find out how the default "Input Record Separator" ($/) is set, but all I'm finding is information on how it's used or how to set it myself. Based on the information I've found so far, $/ is supposed to be set appropriately for the OS, such as LF for UNIX type systems and CRLF for DOS/Windows type systems.
I'm currently running Perl on a Windows based system. As of last year, $/ was being set correctly to CRLF. However, something in the past year has changed such that $/ is now being set to LF. I'm hoping someone understands how this (important) variable is (supposed to be) automatically set.
Thanks!In reply to How is the default "Input Record Separator" set? by brettasterling
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |