Beefy Boxes and Bandwidth Generously Provided by pair Networks
XP is just a number
 
PerlMonks  

Re: Hash slices ?

by kilinrax (Deacon)
on Dec 01, 2000 at 17:30 UTC ( #44337=note: print w/ replies, xml ) Need Help??

Help for this page

Select Code to Download


  1. or download this
    @keys = qw(one two five);
    unshift @keys,'four';
    ...
    } else {
        print "nope\n";
    }
    
  2. or download this
    four one two five
    yep
    one two five two
    nope 
    
  3. or download this
    if ( grep{ exists( $hash{$_} ) } @keys ) { 
        print "yep\n";
    } else {
        print "nope\n";
    }
    

Log In?
Username:
Password:

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

How do I use this? | Other CB clients
Other Users?
Others taking refuge in the Monastery: (5)
As of 2014-12-25 15:31 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    Is guessing a good strategy for surviving in the IT business?





    Results (160 votes), past polls