Are sigils required?

2017-05-25 Thread Gabor Szabo
https://docs.perl6.org/language/variables says: "Variable names can start with or without a special character called a sigil," But then in the examples all 3 have sigils. How can a variable have no sigil? Gabor

Re: Are sigils required?

2017-05-25 Thread Brent Laabs
You didn't keep reading far enough. > For information on variables without sigils, see sigilless variables . > https://docs.perl6.org/language/variables#Sigilless_variables On Thu, May 25, 2017 at 11:10 PM, Gabor Szabo wrote: > http

Re: Are sigils required?

2017-05-25 Thread Gabor Szabo
thanks! Gabor "impatient" Szabo On Fri, May 26, 2017 at 9:27 AM, Brent Laabs wrote: > You didn't keep reading far enough. > >> For information on variables without sigils, see sigilless variables. >> https://docs.perl6.org/language/variables#Sigilless_variables > > On Thu, May 25, 2017 at 11:10

Re: Are sigils required?

2017-05-26 Thread Parrot Raiser
Isn't it stretching the definition of "variable" to use it for what are really user-named constants? On 5/26/17, Gabor Szabo wrote: > thanks! > > > Gabor "impatient" Szabo > > On Fri, May 26, 2017 at 9:27 AM, Brent Laabs wrote: >> You didn't keep reading far enough. >> >>> For information on var

Re: Are sigils required?

2017-05-26 Thread Timo Paulssen
You can bind an explicitly created scalar into a sigil-less variable and it'll be variable rather than constant

Re: Are sigils required?

2017-05-26 Thread Parrot Raiser
That sounds like a rather complicated way to render a program even more confusing. On 5/26/17, Timo Paulssen wrote: > You can bind an explicitly created scalar into a sigil-less variable and > it'll be variable rather than constant >