Beefy Boxes and Bandwidth Generously Provided by pair Networks
Clear questions and runnable code
get the best and fastest answer
 
PerlMonks  

Re: Do values from string exist within array?

by Eily (Curate)
on Sep 30, 2013 at 16:29 UTC ( #1056384=note: print w/ replies, xml ) Need Help??


in reply to Do values from string exist within array?

How do you print your dump? The fat comma (=>) makes it look like a hash (but since it's just a list it could indeed be an array), but you have twice the same key, so it's not possible. And since your variable is @GrpIDs, it has to be an array.

You should look at grep and Text::CSV for your problem. But I can't help any further unless I have the right data structure.


Comment on Re: Do values from string exist within array?
Download Code

Log In?
Username:
Password:

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

How do I use this? | Other CB clients
Other Users?
Others exploiting the Monastery: (5)
As of 2015-07-04 04:51 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    The top three priorities of my open tasks are (in descending order of likelihood to be worked on) ...









    Results (57 votes), past polls