Beefy Boxes and Bandwidth Generously Provided by pair Networks
laziness, impatience, and hubris
 
PerlMonks  

Re^2: checking if hashref value exists based on a dynamic array

by kyle (Abbot)
on Aug 08, 2008 at 15:15 UTC ( [id://703141]=note: print w/replies, xml ) Need Help??

Help for this page

Select Code to Download


  1. or download this
    use Test::More 'tests' => 5;
    
    ...
    ok( deep_exists( \%h, 'hash', 'shift', 'scalar' ), 'hash shift scalar'
    + );
    ok( ! deep_exists( \%h, 'hash', 'shift', 'scalar', 'hash' ),
        'hash shift scalar hash' );
    

Log In?
Username:
Password:

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

How do I use this?Last hourOther CB clients
Other Users?
Others sharing their wisdom with the Monastery: (6)
As of 2024-04-18 00:44 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found