I agree with both Tye and dragonchild. However, I have just a little nit with both of their sample codes. The Range for the $i subsrcript should be 0 .. 4 since perl arrays are zero indexed.
so,
should befor my $i (1 .. 4) {
for my $i (0 .. 4) {
and,
should befor $j($i+1..5){
-meta4for $j($i+1..4){
In reply to Re(2): Using eval to build array structure
by meta4
in thread Using eval to build array structure
by Popcorn Dave
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |