Beefy Boxes and Bandwidth Generously Provided by pair Networks
Do you know where your variables are?
 
PerlMonks  

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

by halley (Prior)
on Apr 06, 2004 at 14:41 UTC ( [id://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 avoiding work at the Monastery: (2)
As of 2024-04-26 04:11 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found