Skip to content

Commit 01ed12c

Browse files
committed
[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
1 parent 80afe38 commit 01ed12c

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

S02-bits.pod

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,7 @@ Synopsis 2: Bits and Pieces
1414
Created: 10 Aug 2004
1515

1616
Last Modified: 09 Apr 2012
17-
Version: 255
17+
Version: 256
1818

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

2077-
Sigils used either as functions or as list prefix operators also
2078-
force context, so these also work:
2077+
Sigils used as functions with parenthesis also force context, so these
2078+
also work:
20792079

20802080
@x[$(g())] # item context for g()
20812081
%x{$(g())} # item context for g()

0 commit comments

Comments
 (0)