Mark J. Reed:
Aaron Sherman:
Proposal: A sigil followed by [...] is always a composer for that
type.
%[...] - Hash. Unicode: ?...?
@[...] - Array. Unicode: [...]
? - Seq. Unicode: ?...?
[...] - Code. Unicode: ?...?
|[...] - Capture.
S04 now reads:
==
However, a hash composer may never occur at the end of a line. If the
parser sees anything that looks like a hash composer at the end of
the line, it fails with closing hash curly may not terminate line
or some such.
my $hash = {
1 = { 2 = 3, 4 = 5 }, #
Aaron Sherman wrote:
Proposal: A sigil followed by [...] is always a composer for that type.
%[...]- Hash. Unicode: ⦃...⦄
@[...]- Array. Unicode: [...]
...
I left out ::, which is probably a mistake. Part of the elegance of
this, IMHO, is that it behaves the same for all
On 10/5/06, Aaron Sherman [EMAIL PROTECTED] wrote:
Proposal: A sigil followed by [...] is always a composer for that type.
%[...] - Hash. Unicode: ⦃...⦄
@[...] - Array. Unicode: [...]
? - Seq. Unicode: ⎣...⎤
[...] - Code. Unicode: ⦕...⦖
|[...] -
Mark J. Reed wrote:
On 10/5/06, Aaron Sherman [EMAIL PROTECTED] wrote:
Proposal: A sigil followed by [...] is always a composer for that type.
%[...] - Hash. Unicode: ⦃...⦄
@[...] - Array. Unicode: [...]
? - Seq. Unicode: ⎣...⎤
[...] - Code. Unicode:
Aaron Sherman wrote:
(updated based on followup conversations)
Proposal: A sigil followed by [...] is always a composer for that type.
%[...]- Hash.
@[...]- Array.
[...]- Code.
|[...]- Capture. Identical to \(...).
$[...]- Scalar. Like item(...), but