Variable declaration reset: Difference between revisions
Content deleted Content added
mNo edit summary |
m →{{header|Raku}}: the the -> to the |
||
Line 128:
=={{header|Raku}}==
By default, Raku variables need a prefix sigil indicating the storage / interface, and a scope declarator to indicate the variables' accessibility. The vast majority of the time, variables are declared with a "my" scope declarator that constrains them
<lang perl6>my @s = 1, 2, 2, 3, 4, 4, 5;
|