![]() |
|
The stupid question is the question not asked | |
PerlMonks |
Re^2: Is there a variable in which Perl stores the native file delimiter for the platform on which your script is running? ($/)by tye (Sage) |
on Dec 23, 2005 at 01:14 UTC ( [id://518677]=note: print w/replies, xml ) | Need Help?? |
And $/ is (defaults to) "\n" on every platform. And "\n" is "\cJ" aka "\x0a" on every ASCII platform (it is "\cM"/"\x0d" on the near-ASCII platform of old Macs). So $/ doesn't have much to do with the original question. - tye
In Section
Seekers of Perl Wisdom
|
|