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)] ;
In reply to Re^2: Type of arg 1 to splice must be array (not keys)
by jeanluca
in thread Type of arg 1 to splice must be array (not keys)
by jeanluca
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |