in reply to Hash slices and too many keys
There has to be a better way than that ...my @keys = (1 .. 5); my @values = (6 .. 8); my %hash; @hash{@keys} = (@values, ('') x (@columns - @values));
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re: Re: Hash slices and too many keys (Update cause I can't edit a root node)
by lestrrat (Deacon) on Jul 28, 2001 at 00:07 UTC |