Beefy Boxes and Bandwidth Generously Provided by pair Networks
We don't bite newbies here... much
 
PerlMonks  

Re: Reading "slices" out of a file at known start markers

by jwkrahn (Monsignor)
on Oct 03, 2008 at 14:29 UTC ( #715198=note: print w/replies, xml ) Need Help??

Help for this page

Select Code to Download


  1. or download this
    while ( <FH> ) {
        if ( /^SOURCES/ && /\\$/ ) {
    ...
            }
        }
    
  2. or download this
    my $data;
    while ( <FH> ) {
    ...
        }
    print $data;
    

Log In?
Username:
Password:

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

How do I use this? | Other CB clients
Other Users?
Others imbibing at the Monastery: (3)
As of 2018-11-18 13:03 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?
    My code is most likely broken because:
















    Results (205 votes). Check out past polls.

    Notices?