Beefy Boxes and Bandwidth Generously Provided by pair Networks
Think about Loose Coupling

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 snow settles gently...

How do I use this? | Other CB clients
Other Users?
Others wandering the Monastery: (6)
As of 2018-02-22 00:02 GMT
Find Nodes?
    Voting Booth?
    When it is dark outside I am happiest to see ...

    Results (288 votes). Check out past polls.