in reply to Re: Re: Fastest way to compare multiple variables?
in thread Fastest way to compare multiple variables?
Here's one way : cache the size of the first array created and set a variable $allsamesize to have a true value (=1 will do). Then check each new array's size against the cached value and, if it's not the same, set $allsamesize to 0.
HTH.
In Section
Seekers of Perl Wisdom