# Perl array
###### tags: `Perl`
- [slide:https://hackmd.io/@ewnlm/SkCB99VG0] <!-- Put the link to this slide here so people can follow -->
---
## 常用函式
```graphviz
digraph TD {
rankdir = LR
node1 [label = "unshift() 推進"];
node2 [label = "shift() 推出"];
array [shape=record, label="{<a0>A0|A1|..|<an>An}"];
node3 [label = "push() 推進"];
node4 [label = "pop() 推出"];
array:a0 -> node2 ;
node1 -> array:a0;
array:an -> node4;
node3->array:an;
{rank = same; node1, node2; }
{rank = same; node3, node4; }
{rank = same; array; }
}
```
---
{"title":"Perl array","breaks":true,"description":"Perl array info","contributors":"[{\"id\":\"0b93a0f4-2322-4e3e-9569-2c17e87a9819\",\"add\":727,\"del\":218}]"}