Beefy Boxes and Bandwidth Generously Provided by pair Networks
XP is just a number
 
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??


in reply to Re: Is there a variable in which Perl stores the native file delimiter for the platform on which your script is running?
in thread Is there a variable in which Perl stores the native file delimiter for the platform on which your script is running?

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        

  • Comment on Re^2: Is there a variable in which Perl stores the native file delimiter for the platform on which your script is running? ($/)

Log In?
Username:
Password:

What's my password?
Create A New User
Domain Nodelet?
Node Status?
node history
Node Type: note [id://518677]
help
Chatterbox?
and the web crawler heard nothing...

How do I use this?Last hourOther CB clients
Other Users?
Others taking refuge in the Monastery: (6)
As of 2024-04-24 13:18 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found