> Hang on... \I \E amounts to the same number of characters as using
> '. .' (that is, terminating this q-string, concat the thing, start
> a new q-string)
You can't do that in a <<'HERE' doc.
> For arrays, yes, the proposed \I \E would still be useful. Maybe the
> \I should just scan for the following scalar/array var name and
> automatically turn itself off again.
No thanks. Suppose I want:
'$x = $a;
$y = func(\I$arg1, $arg2, $arg3\E);
#etc.
'
Unless it scans ahead and if it fails to find a \E,
then it turns itself off after the first interpolation >:-)
Damian
- RFC 226 (v2) Selective interpolation in single quotish... Perl6 RFC Librarian
- Re: RFC 226 (v2) Selective interpolation in singl... Jarkko Hietaniemi
- Re: RFC 226 (v2) Selective interpolation in singl... Damian Conway
- Re: RFC 226 (v2) Selective interpolation in s... Jarkko Hietaniemi
- Re: RFC 226 (v2) Selective interpolation in s... Damian Conway
- Re: RFC 226 (v2) Selective interpolation ... Uri Guttman
- Re: RFC 226 (v2) Selective interpolation ... Damian Conway
- Re: RFC 226 (v2) Selective interpolat... Glenn Linderman
- Re: RFC 226 (v2) Selective interpolation in singl... Glenn Linderman
- Re: RFC 226 (v2) Selective interpolation in s... Philip Newton
- Re: RFC 226 (v2) Selective interpolation in s... Bart Lateur
- Re: RFC 226 (v2) Selective interpolation in singl... Philip Newton
- Re: RFC 226 (v2) Selective interpolation in singl... Andy Dougherty
