Beefy Boxes and Bandwidth Generously Provided by pair Networks
Come for the quick hacks, stay for the epiphanies.
 
PerlMonks  

Re: using STDIN that has no line breaks

by jplindstrom (Monsignor)
on Mar 09, 2009 at 13:41 UTC ( [id://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

Log In?
Username:
Password:

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

How do I use this?Last hourOther CB clients
Other Users?
Others pondering the Monastery: (7)
As of 2024-04-25 08:19 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found