in reply to Testing the Uniformity of an Array by its Elements
use Perl6::Junction qw(all); print "uniform\n" if (all(@array) eq $array[0]);
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re^2: Testing the Uniformity of an Array by its Elements
by neversaint (Deacon) on Nov 02, 2005 at 14:35 UTC | |
by tirwhan (Abbot) on Nov 02, 2005 at 14:58 UTC |