Beefy Boxes and Bandwidth Generously Provided by pair Networks
Pathologically Eclectic Rubbish Lister
 
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 making s'mores by the fire in the courtyard of the Monastery: (9)
As of 2015-01-29 09:25 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    My top resolution in 2015 is:

















    Results (231 votes), past polls