On Sat, Aug 25, 2012 at 8:29 PM, Wang, Li <li.w...@ttu.edu> wrote: > Dear All > > I have an array of a series of strinngs. I want to set up a condition in > which all the scalers in the array are not the same. > > For example > > AB AB AB AB AB (delete the array) > AB AC AB AB AB (Keep the array) > AB AC AD AB AB (keep) > > Sorry for the naive questions! > > Best wishes > Li >
http://stackoverflow.com/questions/2305504/how-can-i-check-if-all-elements-of-an-array-are-identical-in-perl Hope it will help you. -- Praveen Kumar http://fedoraproject.org/wiki/User:Kumarpraveen http://fedoraproject.org/ http://kumar-pravin.blogspot.com