Beefy Boxes and Bandwidth Generously Provided by pair Networks
Clear questions and runnable code
get the best and fastest answer
 
PerlMonks  

Re: Re: Processing lines after a pattern in a while loop

by halley (Prior)
on Apr 06, 2004 at 14:41 UTC ( #342941=note: print w/replies, xml ) Need Help??

Help for this page

Select Code to Download


  1. or download this
    <DATA> until /^#cardtype/;
    while (<DATA>) {
       ...
    }
    
  2. or download this
    1 until <DATA> =~ /^#cardtype/;
    while (<DATA>) {
       ...
    }
    

Log In?
Username:
Password:

What's my password?
Create A New User
Domain Nodelet?
Node Status?
node history
Node Type: note [id://342941]
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: (3)
As of 2023-12-10 07:09 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?
    What's your preferred 'use VERSION' for new CPAN modules in 2023?











    Results (38 votes). Check out past polls.

    Notices?