Beefy Boxes and Bandwidth Generously Provided by pair Networks RobOMonk
"be consistent"
 
PerlMonks  

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

by LanX (Abbot)
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 lurking in the Monastery: (15)
As of 2014-04-16 20:31 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    April first is:







    Results (434 votes), past polls