Beefy Boxes and Bandwidth Generously Provided by pair Networks
Just another Perl shrine
 
PerlMonks  

Re: Handling A File In Human-Compatible Chunks

by tlm (Prior)
on Jun 27, 2005 at 11:58 UTC ( [id://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?Last hourOther CB clients
Other Users?
Others taking refuge in the Monastery: (2)
As of 2024-07-21 00:17 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found

    Notices?
    erzuuli‥ 🛈The London Perl and Raku Workshop takes place on 26th Oct 2024. If your company depends on Perl, please consider sponsoring and/or attending.