How do you call the variable types?

2017-06-08 Thread Gabor Szabo
Looking at https://docs.perl6.org/language/variables there are 4 variable types with sigil: $, @, %, &. In Perl 5 I used to call them scalar, array, hash, and function respectively, even if the scalar variable had a reference to an array in it. How do you call them in Perl 6? As I understand @ a

Re: How do you call the variable types?

2017-06-08 Thread Richard Hainsworth
It also seems to me that 'scalar' gives the wrong impression compared to arrays. A scalar in a vector is a component of a vector. I was thinking of "generic". Hence "$variable" is a generic variable because it can hold any type of content. On Friday, June 09, 2017 02:10 PM, Gabor Szabo wrot