From that source it should rather be a joke. What is the meaning of `@` again?
From that source it should rather be a joke. What is the meaning of `@` again?
@rray (just like `$` is for $calar, and `%` is for … uhm …). Everything is mnemonic if you have a sufficient amount of context. :-)
Another system defined variable is `$_`, that is as well named as the one I cited.
There are many more of those in Perl, but I can't remember them for some reason.
I'm almost certain that this is false, at least in Perl 5. (Sigils are dramatically overhauled in Perl 6, and I haven't kept up.)
This blog post could be of interest: https://opensource.com/article/18/9/using-sigils-perl-6
</plug>
'@' is a stylized 'a' (for 'array') and '$' is a stylized 's' (for 'scalar').
And '%' is a stylized key-value pair, so used for a Perl hash. IIRC.
Whatever else you may think of Larry Wall, you can't accuse him of not being ingenious :)
>sufficient amount of context.
nice('perl pun') unless not intended;
https://www.google.co.in/search?q=perl+scalar+and+list+conte...
Lovely catch! I wish that it had been intentional.