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

Re: Jumping out of a partially read file

by mephit (Scribe)
on May 09, 2002 at 21:46 UTC ( #165531=note: print w/replies, xml ) Need Help??


in reply to Jumping out of a partially read file

while (<FILE>) { last unless /^/ .. /^MARKER/; $foo = $bar; }
Or whatever pattern you use to signify the end of the header. HTH.

Log In?
Username:
Password:

What's my password?
Create A New User
Node Status?
node history
Node Type: note [id://165531]
help
Chatterbox?
and all is quiet...

How do I use this? | Other CB clients
Other Users?
Others wandering the Monastery: (6)
As of 2017-08-18 20:20 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?
    Who is your favorite scientist and why?



























    Results (309 votes). Check out past polls.

    Notices?