Beefy Boxes and Bandwidth Generously Provided by pair Networks Frank
Perl Monk, Perl Meditation
 
PerlMonks  

Re: How best to strip text from a file?

by hperange (Beadle)
on Nov 02, 2012 at 03:36 UTC ( #1001910=note: print w/ replies, xml ) Need Help??

Help for this page

Select Code to Download


  1. or download this
    /^\s+Order ID:([a-zA-Z0-9-]+)\s+fiscal cycle:(\d+)/
    
  2. or download this
    my $in_rec = 0;
    my ($head_re, $tail_re) = (qr/Start of record/, qr/End of record/);
    ...
        push @record, $_ if $in_rec;
      }
    }
    

Log In?
Username:
Password:

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

How do I use this? | Other CB clients
Other Users?
Others making s'mores by the fire in the courtyard of the Monastery: (11)
As of 2014-04-16 10:52 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    April first is:







    Results (424 votes), past polls