in reply to Type of arg 1 to splice must be array (not keys)
Try it using a list slice:
my @k = ( keys %mh )[ 0 .. 99 ];
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re^2: Type of arg 1 to splice must be array (not keys)
by jeanluca (Deacon) on Dec 14, 2009 at 13:11 UTC | |
by JavaFan (Canon) on Dec 14, 2009 at 13:15 UTC | |
by ikegami (Patriarch) on Dec 14, 2009 at 15:36 UTC |