Beefy Boxes and Bandwidth Generously Provided by pair Networks
No such thing as a small change
 
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 chilling in the Monastery: (8)
As of 2014-11-29 09:02 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    My preferred Perl binaries come from:














    Results (204 votes), past polls