1 | # We show this example of $PaperSizes{}[] which is a Hash whose key references a 2D array |
2 | %PaperSizes = |
3 | ( |
4 | A3 => [mm(297), mm(420)], # mm is built in subroutine |
5 | A4 => [mm(210), mm(297)], # to convert millimeteres to points |
6 | ); |
7 | so $PaperSizes{'A4'} returns a two dimensional array |