I don't know why typeglobs were removed from raku and my google-fu wasn't good enough to find a clear explanation of Larry's rationale for this. However, I did find How naming of variables works in Perl 6 by Elizabeth Mattijsen which states:

As you may have noticed, Perl 6 does not have a * sigil nor the concept of typeglobs. If you don't know what typeglobs are, you don't have to worry about this. In Perl 6, the sigil is part of the name stored in a symbol table, whereas in Perl 5 the name is stored without the sigil. For example, in Perl 5, if you reference $foo in your program, the compiler will look up foo (without sigil), then fetch the associated information (which is an array), and look up what it needs at the index for the $ sigil. In Perl 6, if you reference $foo, the compiler will look up $foo and directly use the information associated with that key. Please do not confuse the * used to indicate slurpiness of parameters in Perl 6 with the typeglob sigil in Perl 5 -- they have nothing to do with each other.

To make any sort of case for their removal from Perl 5, you'll need to do more than assert that "the current implementation for it decrease performance". You'll need to prove it by publishing some benchmarks. Given the backward compatibility nightmare that would be unleashed if typeglobs were removed from Perl 5, it seems preferable to me to leave them in the language and instead try to improve their performance. Admittedly, that's not for me to say, I don't have the skills or desire to be a Perl 5 pumpkin. If you feel strongly enough about it, I suggest you publish some benchmarks and discuss on P5P.


In reply to Re^3: Is typeglob feature really useful? by eyepopslikeamosquito
in thread Is typeglob feature really useful? by xiaoyafeng

Title:
Use:  <p> text here (a paragraph) </p>
and:  <code> code here </code>
to format your post, it's "PerlMonks-approved HTML":



  • Posts are HTML formatted. Put <p> </p> tags around your paragraphs. Put <code> </code> tags around your code and data!
  • Titles consisting of a single word are discouraged, and in most cases are disallowed outright.
  • Read Where should I post X? if you're not absolutely sure you're posting in the right place.
  • Please read these before you post! —
  • Posts may use any of the Perl Monks Approved HTML tags:
    a, abbr, b, big, blockquote, br, caption, center, col, colgroup, dd, del, details, div, dl, dt, em, font, h1, h2, h3, h4, h5, h6, hr, i, ins, li, ol, p, pre, readmore, small, span, spoiler, strike, strong, sub, summary, sup, table, tbody, td, tfoot, th, thead, tr, tt, u, ul, wbr
  • You may need to use entities for some characters, as follows. (Exception: Within code tags, you can put the characters literally.)
            For:     Use:
    & &amp;
    < &lt;
    > &gt;
    [ &#91;
    ] &#93;
  • Link using PerlMonks shortcuts! What shortcuts can I use for linking?
  • See Writeup Formatting Tips and other pages linked from there for more info.