Beefy Boxes and Bandwidth Generously Provided by pair Networks
go ahead... be a heretic
 
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?
[Discipulus]: i cannot see any link to tye post..
[Lady_Aleena]: Hello.
[marto]: teleconf + coffee, I'll post it in a few mins
[beech]: fencepost?
beech is protected with velcro
[Lady_Aleena]: How is velco protective? It sticks to a lot of things.

How do I use this? | Other CB clients
Other Users?
Others lurking in the Monastery: (11)
As of 2017-06-23 08:55 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?
    How many monitors do you use while coding?















    Results (539 votes). Check out past polls.