in reply to Re^2: Dereferencing a reference to a typeglob?
in thread Dereferencing a reference to a typeglob?

Thanks for proving my point.

All of this can be handled without manipulating the symbol table or using the *star operator.

Showing advanced techniques like *a=\&func where a function ref is mapped to a special "slot" of a very unique data structure called "typeglob" residing in the symbol table is contra productive for a beginner.

Especially if he just wants to learn dereferencing of lexicals.

It's enough hinting that there are use cases in meta programming Perl.

> because you rarely interact with them directly or don't understand them is of no help to anyone.

Thanks again for the provocation.

But I'm not going to play and you already know my opinion about you.

Cheers Rolf
(addicted to the Perl Programming Language and ☆☆☆☆ :)
Je suis Charlie!

UPDATE

deleted honorary title ...

Replies are listed 'Best First'.
Re^4: Dereferencing a reference to a typeglob?
by BrowserUk (Patriarch) on Oct 29, 2016 at 14:03 UTC
    Showing advanced techniques like *a=\&func ...

    I didn't show that "advanced technique" in either of my posts. You are the only one to use it in the entire thread!

    ... for a beginner.

    No where did the OP identify himself as a beginner; nor did anything in his post lead me to believe he was.

    Especially if he just wants to learn dereferencing of lexicals.

    And there is the crux of your misreading. He specifically asked about "Dereferencing a reference to a typeglob?" It is, all said and done the title of this thread!

    So, you misread his question; adjudged him to a beginner on no basis at all; and then condescendingly told him he was asking the wrong question.

    If my answering the question he asked, and pointing out your error, makes me a "pope troll", then I'll leave it to others to arrive at their own conclusions about your invaluable contributions to this thread.


    With the rise and rise of 'Social' network sites: 'Computers are making people easier to use everyday'
    Examine what is said, not who speaks -- Silence betokens consent -- Love the truth but pardon error.
    "Science is about questioning the status quo. Questioning authority". I knew I was on the right track :)
    In the absence of evidence, opinion is indistinguishable from prejudice.