Beefy Boxes and Bandwidth Generously Provided by pair Networks
No such thing as a small change
 
PerlMonks  

Re: Select data between a START and END pattern

by Thelonius (Priest)
on May 01, 2003 at 20:51 UTC ( [id://254808]=note: print w/replies, xml ) Need Help??

Help for this page

Select Code to Download


  1. or download this
    @a = 1 .. 7;
    
  2. or download this
    while (something) {
      if (EXPRSTART .. EXPREND) {
         doit();
       }
    }
    
  3. or download this
    $inmatch = 0;
    while (something) {
    ...
        $inmatch = 0;
      }
    }
    
  4. or download this
    while (something) {
      if (EXPRSTART ... EXPREND) {
         doit();
       }
    }
    
  5. or download this
    $inmatch = 0;
    while (something) {
    ...
        $inmatch = 0;
      }
    }
    
  6. or download this
    while (<>) { print if /A/ .. /B/ }
    
  7. or download this
    while (<>) { print if /A/ ... /B/ }
    
  8. or download this
    Here's some text before
    Some text with an A
    ...
    more useless lines 1
    more useless lines 2
    more useless lines 3
    

Log In?
Username:
Password:

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

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

    No recent polls found