Beefy Boxes and Bandwidth Generously Provided by pair Networks
Perl: the Markov chain saw
 
PerlMonks  

Re: Deleting records from an array

by Anonymous Monk
on Dec 22, 2014 at 21:29 UTC ( [id://1111086]=note: print w/replies, xml ) Need Help??


in reply to Deleting records from an array

You've already got some answers, but this caught my eye:

I seriously can't think of any other way to process the file I'm looking at ... I have ... an array that contains a number of records

Does the array consist of the lines of the file? If so, perhaps there is a solution to this in which you could process the file line-by-line without having to read the whole thing into memory...

Also, this sounds like the kind of thing that a database might be able to solve natively?

Maybe you could show us some sample data - a few lines of the input file and/or a few of your records.

Log In?
Username:
Password:

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

How do I use this?Last hourOther CB clients
Other Users?
Others examining the Monastery: (4)
As of 2024-04-19 23:48 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found