Beefy Boxes and Bandwidth Generously Provided by pair Networks
Pathologically Eclectic Rubbish Lister

Re: searching through data

by linuxer (Curate)
on Apr 16, 2009 at 12:12 UTC ( #757957=note: print w/replies, xml ) Need Help??

in reply to searching through data

Just an idea:

Instead of searching through @array1 for each line of your input file, you could store the values you read from the file in another array and then compare the two arrays... and print the matching values.

Log In?

What's my password?
Create A New User
Node Status?
node history
Node Type: note [id://757957]
[marto]: which part don't you know how to do?
[marto]: oh
[Corion]: arunks: Maybe How do I make password prompts not echo back the user?? Or simply read it from STDIN.
[Corion]: arunks: Please do not ask us to write your program. You have to write your program yourself.

How do I use this? | Other CB clients
Other Users?
Others taking refuge in the Monastery: (11)
As of 2017-01-20 14:27 GMT
Find Nodes?
    Voting Booth?
    Do you watch meteor showers?

    Results (174 votes). Check out past polls.