Beefy Boxes and Bandwidth Generously Provided by pair Networks
We don't bite newbies here... much
 
PerlMonks  

Re^4: Extracting single element from array to be printed in a one liner hash

by Lotus1 (Curate)
on May 20, 2014 at 17:47 UTC ( #1086833=note: print w/replies, xml ) Need Help??


in reply to Re^3: Extracting single element from array to be printed in a one liner hash
in thread Extracting single element from array to be printed in a one liner hash

The OP wanted to type apples for example and have it say "fruits". To do this you need:

if ( $key eq $input ) { ... }
  • Comment on Re^4: Extracting single element from array to be printed in a one liner hash
  • Download Code

Log In?
Username:
Password:

What's my password?
Create A New User
Node Status?
node history
Node Type: note [id://1086833]
help
Chatterbox?
and all is quiet...

How do I use this? | Other CB clients
Other Users?
Others drinking their drinks and smoking their pipes about the Monastery: (4)
As of 2017-09-22 23:29 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?
    During the recent solar eclipse, I:









    Results (270 votes). Check out past polls.

    Notices?