in reply to Type of arg 1 to splice must be array (not keys)
my $max = 100; my @list = grep $max-- > 0, keys %hash;
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re^2: Type of arg 1 to splice must be array (not keys)
by kikuchiyo (Hermit) on Dec 14, 2009 at 22:29 UTC | |
by ikegami (Patriarch) on Dec 14, 2009 at 23:12 UTC |