Beefy Boxes and Bandwidth Generously Provided by pair Networks
Perl-Sensitive Sunglasses
 
PerlMonks  

RE: RE: Re: better way to find list members?

by runrig (Abbot)
on Oct 18, 2000 at 03:58 UTC ( [id://37252]=note: print w/replies, xml ) Need Help??


in reply to RE: Re: better way to find list members?
in thread better way to find list members?

If all you want is existence, then this:
@animals{@animals}=undef; print "Got a dog!\n" if exists $animals{dog};
is faster and uses less memory.

Log In?
Username:
Password:

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

How do I use this?Last hourOther CB clients
Other Users?
Others pondering the Monastery: (5)
As of 2024-04-24 07:56 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found