Re: S5: array interpolation

2004-09-15 Thread Brent 'Dax' Royal-Gordon
John Siracusa <[EMAIL PROTECTED]> wrote: > > An interpolated array: > > > > / @cmds / > > > > is matched as if it were an alternation of its elements: > > > > / [ @cmds[0] | @cmds[1] | @cmds[2] | ... ] / > > > > As with a scalar variable, each one is matched as a literal. > > Like this? (

S5: array interpolation

2004-09-15 Thread John Siracusa
> An interpolated array: > > / @cmds / > > is matched as if it were an alternation of its elements: > > / [ @cmds[0] | @cmds[1] | @cmds[2] | ... ] / > > As with a scalar variable, each one is matched as a literal. Like this? (Assuming single quotes don't interpolate @foo[...]) @a