Beefy Boxes and Bandwidth Generously Provided by pair Networks
Just another Perl shrine
 
PerlMonks  

Re: Is there a simple syntax to logically slice a hash?

by LanX (Canon)
on Feb 22, 2013 at 01:50 UTC ( #1020045=note: print w/ replies, xml ) Need Help??

Help for this page

Select Code to Download


  1. or download this
    $a=key
    $b=value
    
  2. or download this
      DB<142> sub hgrep (&%) { 
               my $f=shift; 
    ...
    
      DB<145> hgrep { $b>1 } %h
     => ("caty", 2)
    

Log In?
Username:
Password:

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

How do I use this? | Other CB clients
Other Users?
Others contemplating the Monastery: (7)
As of 2014-12-27 21:33 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

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





    Results (177 votes), past polls