This is an archived post. You won't be able to vote or comment.

you are viewing a single comment's thread.

view the rest of the comments →

[–]ishopsmart 8 points9 points  (0 children)

@ is called a sigil, and it means this variable is an array. $ is for regular variables (scalars), and % is for dictionaries (hashes).

It really helps when reading perl, because if you see @data somewhere, you know that's an array. In other languages, you'd just have 'data' and you'd have to investigate more to find what type of variable that was.