Beefy Boxes and Bandwidth Generously Provided by pair Networks
The stupid question is the question not asked
 
PerlMonks  

Re: how to extract data from an array using a condition

by wfsp (Abbot)
on Jun 18, 2011 at 16:47 UTC ( #910337=note: print w/replies, xml ) Need Help??


in reply to how to extract data from an array using a condition

It may be worth havine a look at Text::CSV (which can work with tabs too). The column_names method shows how you might get the names from the header (i.e assuming it is the first line). Subsequent get_line_hr calls will then return a hash ref keyed on column names.

It would be fairly straight forward to identify which records you need.

If you need help with that post a shortish/simplified example of your data.

Good luck!

Log In?
Username:
Password:

What's my password?
Create A New User
Node Status?
node history
Node Type: note [id://910337]
help
Chatterbox?
[ambrus]: again? someone complained about this just a few days ago (although eventually they could post)
[choroba]: Can you post the question in mz2255's scratchpad?
[ambrus]: Corion, if you're here, can you check the spam filter logs to see what's triggering this time?
[ambrus]: Petroza had trouble posting yesterday, but has posted Issues Fetching URL with a variable token since.
[mz2255]: Yes, just edited the scratchpad. Not sure if I'm doing something wrong, it's my first time.

How do I use this? | Other CB clients
Other Users?
Others cooling their heels in the Monastery: (11)
As of 2017-10-19 15:25 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?
    My fridge is mostly full of:

















    Results (255 votes). Check out past polls.

    Notices?