Beefy Boxes and Bandwidth Generously Provided by pair Networks
more useful options
 
PerlMonks  

Re: seek and process from there on

by holli (Abbot)
on May 30, 2006 at 13:58 UTC ( [id://552494]=note: print w/replies, xml ) Need Help??


in reply to seek and process from there on

You simply need a flag:
my $hot; while (<DATA>) { $hot=1 if /^internal name/; if ( /^need this/ && $hot) { print; } }


holli, /regexed monk/

Log In?
Username:
Password:

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

How do I use this?Last hourOther CB clients
Other Users?
Others having an uproarious good time at the Monastery: (1)
As of 2024-04-24 16:06 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found