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

Re: Re: doing something with the rest of a file after matching a keyword

by davorg (Chancellor)
on Jan 17, 2003 at 17:01 UTC ( [id://227731]=note: print w/replies, xml ) Need Help??


in reply to Re: doing something with the rest of a file after matching a keyword
in thread doing something with the rest of a file after matching a keyword

That's far too complex.

my @saved; while (<FILE>) { @saved = <FILE> if /Well/; }
--
<http://www.dave.org.uk>

"The first rule of Perl club is you do not talk about Perl club."
-- Chip Salzenberg

  • Comment on Re: Re: doing something with the rest of a file after matching a keyword
  • Download Code

Log In?
Username:
Password:

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

How do I use this?Last hourOther CB clients
Other Users?
Others having a coffee break in the Monastery: (3)
As of 2024-04-25 22:36 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found