Beefy Boxes and Bandwidth Generously Provided by pair Networks
more useful options
 
PerlMonks  

Re^3: How is the default "Input Record Separator" set?

by BillKSmith (Monsignor)
on Mar 18, 2021 at 14:09 UTC ( #11129907=note: print w/replies, xml ) Need Help??


in reply to Re^2: How is the default "Input Record Separator" set?
in thread How is the default "Input Record Separator" set?

You do have a point, but I still think it makes far more sense to refer to the text between record_separators as 'records' and the text between newlines as 'lines' rather than overloading the word 'line' for both. I suspect that this is why the special variable '$/' is called '$INPUT_RECORD_SEPARATOR'. In this view, it is the name of the function 'readline' that is misleading.
Bill
  • Comment on Re^3: How is the default "Input Record Separator" set?

Replies are listed 'Best First'.
Re^4: How is the default "Input Record Separator" set?
by ikegami (Patriarch) on Mar 19, 2021 at 13:48 UTC

    Maybe, but it's still $/ and not :crlf that defines a line. :crlf has absolutely nothing to do with that.

    Seeking work! You can reach me at ikegami@adaelis.com

Log In?
Username:
Password:

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

How do I use this? | Other CB clients
Other Users?
Others meditating upon the Monastery: (2)
As of 2022-05-29 09:05 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?
    Do you prefer to work remotely?



    Results (101 votes). Check out past polls.

    Notices?