in reply to [SOLVED] Get element count of CONSTANT list (aref))
#!/usr/bin/perl # http://perlmonks.org/?node_id=1210767 use strict; use warnings; use constant STEPPER_SEQUENCE => [ [qw(1 0 0 1)], [qw(1 0 0 0)], [qw(1 1 0 0)], [qw(0 1 0 0)], [qw(0 1 1 0)], [qw(0 0 1 0)], [qw(0 0 1 1)], [qw(0 0 0 1)], ]; print STEPPER_SEQUENCE->@* . "\n";
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re^2: Get element count of CONSTANT list (aref))
by stevieb (Canon) on Mar 12, 2018 at 22:22 UTC | |
by haukex (Archbishop) on Mar 13, 2018 at 11:59 UTC |