Beefy Boxes and Bandwidth Generously Provided by pair Networks
Clear questions and runnable code
get the best and fastest answer
 
PerlMonks  

Re: Native newline encoding

by kennethk (Monsignor)
on May 22, 2012 at 15:58 UTC ( #971818=note: print w/ replies, xml ) Need Help??


in reply to Native newline encoding

You can use PerlIO::get_layers(STDIN), as discussed in Querying the layers of filehandles in PerlIO. Assuming, of course, that no one played with the layers.

#11929 First ask yourself `How would I do this without a computer?' Then have the computer do it the same way.


Comment on Re: Native newline encoding

Log In?
Username:
Password:

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

How do I use this? | Other CB clients
Other Users?
Others musing on the Monastery: (7)
As of 2014-12-23 04:26 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    Is guessing a good strategy for surviving in the IT business?





    Results (135 votes), past polls