Re: how to test if an element belongs to an array or hash



wrote:

> If I don't use iteration, how to test if an element belongs to an array
> or hash?

for a normal array: -> iteration
for hash, exists

--
John Small Perl scripts: http://johnbokma.com/perl/
Perl programmer available: http://castleamber.com/
Happy Customers: http://castleamber.com/testimonials.html

.



Relevant Pages

  • Re: how to test if an element belongs to an array or hash
    ... >> If I don't use iteration, how to test if an element belongs to an array ... > for hash, exists ... How about this way, without iteration? ...
    (comp.lang.perl.misc)
  • Re: how to test if an element belongs to an array or hash
    ... > John Bokma wrote: ... >>> If I don't use iteration, how to test if an element belongs to an ... >> for hash, exists ... without iteration? ...
    (comp.lang.perl.misc)
  • Re: ssh - password control or key control?
    ... registering shared-secret/password with a host (easily vulnerable to ... and you repeatedly hash it the number of iteration. ... http://www.garlic.com/~lynn/2003m.html#50 public key vs passwd authentication ...
    (comp.os.linux.security)
  • Re: Cipher/hash sizes WAS Re: GOST key gen?
    ... understanding what a hash actually is. ... MD6 comes to mind immediately, ... Iteration doesn't exclude tree-like structures. ... because CRC32 is not an error correcting code but rather an error ...
    (sci.crypt)
  • Re: Double Hashing Passwords
    ... I was going to hash my passwords, but then I figured out that double ... hashing them prevents lenght-extension attacks. ... you should make the iteration ... count adjustable, decide on an acceptable real time delay (say, 0.1 to ...
    (sci.crypt)