in reply to Re^3: Sigils in Perl 6
in thread What's wrong with Perl 6?
So I think of twigils as just another way of making Perl more like Perl. As with sigils, the primary purpose of twigils is to give you, the reader, a visual clue about what's going on in a bit of code without having to memorize every declaration surrounding this scope. The moment you see something like $?FOO you can know that it's a variable to the compiler but a constant to the compiled code, without having to memorize a list of special symbols, or use weird non-sigil conventions like __FOO__.
|
---|
Replies are listed 'Best First'. | |
---|---|
Re^5: Sigils in Perl 6
by ysth (Canon) on May 15, 2007 at 19:01 UTC | |
by TimToady (Parson) on May 15, 2007 at 19:28 UTC | |
by ysth (Canon) on May 15, 2007 at 20:25 UTC | |
by blazar (Canon) on May 20, 2007 at 11:43 UTC | |
Re^5: Sigils in Perl 6
by jplindstrom (Monsignor) on May 15, 2007 at 19:21 UTC | |
by duff (Parson) on May 15, 2007 at 19:23 UTC |