> This eliminates the need for the `@{[ … ]}` form in qq strings. It > means you can easily interpolate method calls and simple expressions > like $a+$b. Just noting that `${ \… }` exists already, although it's even more confusing that `@{[ … ]}`: $ perl -E 'sub foo { say "wantarray: ", wantarray } "${\foo}"' wantarray: 1 The `\` operator provides a list context to the function being called, and the scalar dereference grabs the list in scalar context and return the last element of it: $ perl -E 'sub foo { @a = 0..5 } say "${\foo}"' 5 So, yeah, we probably need something less ugly and less surprising. -- Philippe Bruhat (BooK) Friends are people who are there when you need them. (also applies to dogs) (Moral from Groo The Wanderer #43 (Epic))Thread Previous | Thread Next