Y
HN Search
Hacker News Search
new
|
comments
|
top
|
jobs
jondum_bau
searching PlanetScale…
1.
▲
2.
▲
3.
▲
4.
▲
5.
▲
6.
▲
3 ms
·
1.
▲
by
jondum_bau
12y ago
all lists can be sliced with the [] notation. the above example would returnsAList, put it in a new array reference, then dereference it. probably not want you want. To get the first item from the sub with [] notation would be (returnsAList