Perl-Sensitive Sunglasses | |
PerlMonks |
Re: How to Test if Two Arrays are Ordered in the Same Wayby jdhedden (Deacon) |
on Jun 06, 2005 at 16:23 UTC ( [id://463973]=note: print w/replies, xml ) | Need Help?? |
Your decision line needs to be:
You have to take into account the elements order with respect to each other. In this case, pos1 <= pos2 <= pos3 ...
In Section
Seekers of Perl Wisdom
|
|