- or download this
rec_for([1..3],["a".."c"],[10..13]);
...
print "tuple: @tuple\n";
}
}
- or download this
/usr/bin/perl -w /home/lanx/B/PL/PM/recursive_for.pl
tuple: 1 a 10
tuple: 1 a 11
...
tuple: 1 b 10
tuple: 1 b 11
...
- or download this
rec_for(a=>[1..3],b=>["a".."c"],c=>[10..13]);