Beefy Boxes and Bandwidth Generously Provided by pair Networks
There's more than one way to do things
 
PerlMonks  

wfsp's scratchpad

by wfsp (Abbot)
on Aug 30, 2004 at 15:30 UTC ( [id://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
Domain Nodelet?
Chatterbox?
and the web crawler heard nothing...

How do I use this?Last hourOther CB clients
Other Users?
Others learning in the Monastery: (4)
As of 2024-04-19 04:37 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found