in reply to Re: Type of arg 1 to splice must be array (not keys)
in thread Type of arg 1 to splice must be array (not keys)
Which doesn't look that good anymore. So I prefer 'splice'. Is there a way to convert this 'key' list into an array ?my @k = (keys %mh)[0 .. (scalar keys(%my) <= 100 ? scalar keys(%mh) : +100)] ;
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re^3: Type of arg 1 to splice must be array (not keys)
by JavaFan (Canon) on Dec 14, 2009 at 13:15 UTC | |
|
Re^3: Type of arg 1 to splice must be array (not keys)
by ikegami (Patriarch) on Dec 14, 2009 at 15:36 UTC |