Skip to content

Commit

Permalink
Browse files Browse the repository at this point in the history
[S02] sigils are not available as prefix operators
std and the compilers do not implement it, neither is it use in the spec or
the test suilte
  • Loading branch information
moritz committed Apr 9, 2012
1 parent 80afe38 commit 01ed12c
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions S02-bits.pod
Expand Up @@ -14,7 +14,7 @@ Synopsis 2: Bits and Pieces
Created: 10 Aug 2004

Last Modified: 09 Apr 2012
Version: 255
Version: 256

This document summarizes Apocalypse 2, which covers small-scale
lexical items and typological issues. (These Synopses also contain
Expand Down Expand Up @@ -2074,8 +2074,8 @@ single-character context specifiers such as + for numbers and ~ for strings:
%x{~f()} = %y{g()}; # string item context for f(), list context for g()
%x{f()} = %y{~g()}; # list context for f(), string item context for g()

Sigils used either as functions or as list prefix operators also
force context, so these also work:
Sigils used as functions with parenthesis also force context, so these
also work:

@x[$(g())] # item context for g()
%x{$(g())} # item context for g()
Expand Down

0 comments on commit 01ed12c

Please sign in to comment.