Beefy Boxes and Bandwidth Generously Provided by pair Networks
Your skill will accomplish
what the force of many cannot
 
PerlMonks  

wfsp's scratchpad

by wfsp (Abbot)
on Aug 30, 2004 at 15:30 UTC ( #386935=scratchpad: print w/ replies, xml ) Need Help??

my $find = q{something}; for my $key (%hash){ for my $element (@{$hash{$key}}){ if ($element eq $find){ print qq{found $find}; endif } }
my $key = q{key}; my $find = q{something}; my @found = grep{$_ eq $find} @{$hash{$key}}; print qq{@found\n};
Log In?
Username:
Password:

What's my password?
Create A New User
Chatterbox?
and the web crawler heard nothing...

How do I use this? | Other CB clients
Other Users?
Others chilling in the Monastery: (12)
As of 2015-05-06 09:06 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    In my home, the TV remote control is ...









    Results (131 votes), past polls