Beefy Boxes and Bandwidth Generously Provided by pair Networks
Perl Monk, Perl Meditation

Re^4: Hash Question

by perlnoobster (Sexton)
on Jan 09, 2013 at 11:23 UTC ( #1012436=note: print w/replies, xml ) Need Help??

in reply to Re^3: Hash Question
in thread Hash Question

Sorry, I wasn't clear, The hash reference is looking up values that match a column in a text file ($text11) I wanted to know if it was possible to match another column also e.g 14,15,17 etc and if there is a match in any of those columns then the results would be printed as opposed to just having the hash look up the one column ($text11) does that make more sense? Thank you

Replies are listed 'Best First'.
Re^5: Hash Question
by Anonymous Monk on Jan 09, 2013 at 11:28 UTC
    if( $f[0] eq $f[1] and $f[0] eq $f[2] and $f[0] eq $f[3] and $f[0] eq $f[4] and $f[0] eq $f[5] ) { ... }

Log In?

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

How do I use this? | Other CB clients
Other Users?
Others contemplating the Monastery: (7)
As of 2016-10-24 00:38 GMT
Find Nodes?
    Voting Booth?
    How many different varieties (color, size, etc) of socks do you have in your sock drawer?

    Results (302 votes). Check out past polls.