Beefy Boxes and Bandwidth Generously Provided by pair Networks
Pathologically Eclectic Rubbish Lister
 
PerlMonks  

Re: using STDIN that has no line breaks

by jplindstrom (Monsignor)
on Mar 09, 2009 at 13:41 UTC ( #749284=note: print w/ replies, xml ) Need Help??


in reply to using STDIN that has no line breaks

What other people said to solve your specific problem.

Or in general: look at the variable $/ (the input record separator, newline by default. This influences Perl's idea of what a "line" is) in perlvar (perldoc perlvar from the command line).

/J


Comment on Re: using STDIN that has no line breaks
Download Code

Log In?
Username:
Password:

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

How do I use this? | Other CB clients
Other Users?
Others surveying the Monastery: (11)
As of 2014-12-22 15:58 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

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





    Results (121 votes), past polls