Beefy Boxes and Bandwidth Generously Provided by pair Networks
Keep It Simple, Stupid
 
PerlMonks  

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

by LanX (Saint)
on Feb 22, 2013 at 01:50 UTC ( [id://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
Domain Nodelet?
Node Status?
node history
Node Type: note [id://1020045]
help
Chatterbox?
and the web crawler heard nothing...

How do I use this?Last hourOther CB clients
Other Users?
Others browsing the Monastery: (4)
As of 2024-03-28 23:20 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found