http://www.perlmonks.org?node_id=371991


in reply to Getting Matching Items From An Array

This is an excellent post Limbic~Region++. One note which I would make however is that the exists function can be of use with arrays where testing that an index is within the bounds of the defined array (without autovivifying a non-existent element) - This may be something useful which you can add to this text.

 

perl -le "print unpack'N', pack'B32', '00000000000000000000001011100111'"