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

Re^11: How best to strip text from a file?

by Kenosis (Priest)
on Nov 13, 2012 at 02:35 UTC ( [id://1003540]=note: print w/replies, xml ) Need Help??

Help for this page

Select Code to Download


  1. or download this
    my ( @records, @orders, %seen );
    
  2. or download this
    RECORD: for my $record (@records) { ...
    
  3. or download this
    if (/Order ID:(\S+)/) {
        next RECORD if $seen{$1};
        $seen{$1}++;
        $hash{orderID} = $1;
    }
    
  4. or download this
    writeToSpreadSheet( $row,  \%hash );
    
  5. or download this
    sub writeToSpreadSheet {
        my ($row, $hashReference) = @_;
    ...
    

Log In?
Username:
Password:

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

How do I use this?Last hourOther CB clients
Other Users?
Others taking refuge in the Monastery: (6)
As of 2024-04-18 13:43 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found