in reply to how to check contents of my array ref
Is it a requirement, that if the all of the array elements are of the same kind, or is it for instance allowed that $array->[0] is an array ref, $array->[1] is a hash ref, etc.? Because this decision has an impact on how error checking can be done best.
|
|---|