Beefy Boxes and Bandwidth Generously Provided by pair Networks
We don't bite newbies here... much
 
PerlMonks  

Re: Reading a part of text file between markers

by ambs (Pilgrim)
on Mar 28, 2005 at 16:48 UTC ( #442858=note: print w/replies, xml ) Need Help??


in reply to Reading a part of text file between markers

A first idea:
$/="\nEND\n"; while(<>) { # $_ contains a complete rule }

Alberto Simões

Log In?
Username:
Password:

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

How do I use this? | Other CB clients
Other Users?
Others perusing the Monastery: (3)
As of 2021-10-17 13:47 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?
    My first memorable Perl project was:







    Results (71 votes). Check out past polls.

    Notices?