On Fri, Sep 15, 2000 at 01:56:39PM +1100, Damian Conway wrote: > > 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. True. > > 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); Hmmm...should \Ifunc($arg1)\E be replaced by the return value of func($arg1)? > #etc. > ' > > Unless it scans ahead and if it fails to find a \E, > then it turns itself off after the first interpolation >:-) :-) Also true. -- $jhi++; # http://www.iki.fi/jhi/ # There is this special biologist word we use for 'stable'. # It is 'dead'. -- Jack Cohen
- 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
- Re: RFC 226 (v2) Selective interpolation in s... Nathan Wiger