in reply to Re^3: Benefits of everything is an object? Or new sigils?
in thread Benefits of everything is an object? Or new sigils?

> In a way you could say there is a sigil for each ref-type, when it gets deferenced (or when it is actually used as the base type, and not a reference in a scalar), @ => @$, % => %$, & => &$.

Alas, it's more complicated than this.

Just to give you one example, if you have a nested structure you have to write something like  push @{ $ref->[1][2][3] }, "elem"

Very motivating for beginners! :(

In most other languages you can simply write something like push ref[1][2][3] , "elem" ...

Cheers Rolf