Difference between "@" and "$" in Perl

Viewed 9602

What are the differences between @variable and $variable in Perl?

I have read code with the symbol $ and the symbol @ before a variable name.

For example:

$info = "Caine:Michael:Actor:14, Leafy Drive";
@personal = split(/:/, $info);

What are the difference between a variable containing $ as opposed to @?

6 Answers
Related