P is for Practical | |
PerlMonks |
Re^2: How many defaults of $/ does perl have?by stevieb (Canon) |
on Sep 18, 2015 at 23:35 UTC ( [id://1142475]=note: print w/replies, xml ) | Need Help?? |
Understood LanX, on Windows, $/ is set to \r\n by default. I've found that on Windows, you can strip \r and be left with an \n (which is expected). I'm curious to know how, where and why this is compiled in. What's the trigger, and are there other *common* possibilities other than \r\n and \n.
In Section
Seekers of Perl Wisdom
|
|