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

Re: Select data between a START and END pattern

by Thelonius (Curate)
on May 01, 2003 at 20:51 UTC ( #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
Node Status?
node history
Node Type: note [id://254808]
help
Chatterbox?
and the web crawler heard nothing...

How do I use this? | Other CB clients
Other Users?
Others studying the Monastery: (10)
As of 2014-08-29 12:36 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    The best computer themed movie is:











    Results (280 votes), past polls