in reply to
All array elements the same?
How about the following? @a = qw(one one 1 one); print "not the same\n" unless @a == grep m/$a[0]/o, @a; Later, Ray.
Comment on
Re: All array elements the same?
In Section
Seekers of Perl Wisdom