Re:Perl 6 Introduction
by raiph on Saturday November 28, 2015 @01:39PM
(#10641912)
Aiui it's for any time a coder prefers that a noun's name does not emphasize/convey the basic nature of the thing the noun refers to.
Fwiw you can assign to such "raw" nouns if you declare that the raw noun you're declaring refers in turn to a rw container. For example, a plain `$` is a container (an anonymous Scalar):
my \Δ = my $ = 100;
Δ = 200;
I came up with the following idiom when pondering snippets on twitter and the fundamental problem that twitter treats strings of the form `@foo` as twitter handles which messes up the formatting of tweets containing `@` sigil'd nouns:
Fwiw you can assign to such "raw" nouns if you declare that the raw noun you're declaring refers in turn to a rw container. For example, a plain `$` is a container (an anonymous Scalar):
I came up with the following idiom when pondering snippets on twitter and the fundamental problem that twitter treats strings of the form `@foo` as twitter handles which messes up the formatting of tweets containing `@` sigil'd nouns: displays