Just for fun, let's construct it in one statement with $_ the only temporary variable,
That's called a hash slice.@ALink{'Fred', 'Barney', 'Wilma', 'Peggy'} = map { [map {int rand 30} 0..4] } 0..3;
After Compline,
Zaxo
In reply to Re: Referncing a local array outside
by Zaxo
in thread Referncing a local array outside
by richard_hawkes
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |