in reply to Re: Checking Arrays
in thread Checking Arrays

Use $#search to find the size of the array

No, it will not return the number of elements in an array!!!

$#search will tell you the last index position.

So a one element array 'my @arr = qw/ one /;'
$#arr will return 0 which is false, not what the poster wanted



grep
Mynd you, mønk bites Kan be pretti nasti...