Beefy Boxes and Bandwidth Generously Provided by pair Networks
Think about Loose Coupling
 
PerlMonks  

Re: Handling A File In Human-Compatible Chunks

by tlm (Prior)
on Jun 27, 2005 at 11:58 UTC ( #470227=note: print w/replies, xml ) Need Help??


in reply to Handling A File In Human-Compatible Chunks

You could set $/ to the empty string '' to get the special "paragraph mode". Then <X> would read input "paragraph-wise" instead of "line-wise". See $/ in perlvar.

the lowliest monk

  • Comment on Re: Handling A File In Human-Compatible Chunks

Log In?
Username:
Password:

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

How do I use this? | Other CB clients
Other Users?
Others chanting in the Monastery: (4)
As of 2023-03-23 00:49 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?
    Which type of climate do you prefer to live in?






    Results (60 votes). Check out past polls.

    Notices?