Well, the left-hand side of the assignment is a glob, so it must be that *b is evaluated in glob context!

That is, in all seriousness, precisely what I'm suggesting.

*b is *b whether its in list context or scalar context.

Correct. But *b is not \*b in list context or scalar context, or any other named context I can find. And yet they are the same in statements like *a = *b; and *a = \*b; Hence, I am suggesting that this constitutes an example of a distinct context, unlike the others.

In short, I am asking for criticism of this theory.

I am also trying to see what interest there is in this sort of approach to thinking about Perl; I've been doing a lot of it lately, and it's been quite interesting and educational. We customarily look at Perl as a tool, for the purpose of accomplishing our objectives with it. While this, of course, interests me greatly, I fear it can be a limiting perspective; I also wonder whether the models we're using to describe Perl have unsatisfactory limitations.

One monk privately said in jest, "it's all too theoretical." I'm afraid many people will view such discussions that way in earnest. Nonetheless, this sort of thing seems significant to me.


In reply to Re: Re: Taken out of Context by Petruchio
in thread Taken out of Context by Petruchio

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.