develooper Front page | perl.perl6.users | Postings from November 2022

Re: What is this "\t"?

Thread Previous | Thread Next
From:
Francis Grizzly Smit
Date:
November 29, 2022 09:14
Subject:
Re: What is this "\t"?
Message ID:
636eabe6-1bdb-2ac0-5fa5-3f7c02548207@smit.id.au

On 29/11/22 13:21, ToddAndMargo via perl6-users wrote:
> On 11/28/22 17:40, ToddAndMargo wrote:
>> Sigilless variable
>> https://docs.raku.org/language/glossary#Sigilless_variable
>>
>>       Sigilless variables are actually aliases to the
>>       value it is assigned to them, since they are
>>       not containers. Once you assign a sigilless
>>       variable (using the escape \), its value cannot
>>       be changed.
>
>
> Not to beat a dead horse, but when does that stop me!
>
> "\" escape to a beginner means to escape the
> following character
>
>    > say "\$x"
>    $x
>
>    > print '\\abc\:\:' ~ "\n"
>    \abc\:\:
>
> So without a proper sigil explanation for
> beginners, "using the escape \" means nothing.
>
Personally I never use \name are I hate how it looks, and so far I have 
never needed it, so unless I can find something it can do that I cannot 
do any other way, I'll keep on not using it


>
>
-- 

    .~.     There are many things that I love....
    /V\         but God Comes way above all else❣❣❣❣
   /( )\    Francis (Grizzly) Smit
   ^^-^^http://www.smit.id.au/

Thread Previous | Thread Next


nntp.perl.org: Perl Programming lists via nntp and http.
Comments to Ask Bjørn Hansen at ask@perl.org | Group listing | About