develooper Front page | perl.perl6.language | Postings from June 2007

Re: 'x' vs. 'xx'

Thread Previous
From:
Jonathan Lang
Date:
June 3, 2007 10:01
Subject:
Re: 'x' vs. 'xx'
Message ID:
ef30550b0706031001jc3ca9bfy669dd64ea38c58a7@mail.gmail.com
Mark J. Reed wrote:
> Is "item context" what we're calling scalar these days, or something else?

According to S03, it does indeed appear that "item context" is the
current terminology for what perl 5 called "scalar context":

  The item contextualizer

      item foo()

  The new name for Perl 5's scalar contextualizer. Equivalent to $().
We still call the
  values scalars, and talk about "scalar operators", but scalar
operators are those
  that put their arguments into item context.

-- 
Jonathan "Dataweaver" Lang

Thread Previous


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