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
- Re: RFC 226 (v2) Selective interpolation in single quoti... Jerrad Pierce
- Re: RFC 226 (v2) Selective interpolation in single ... Jarkko Hietaniemi
- Re: RFC 226 (v2) Selective interpolation in single ... Jerrad Pierce
- Re: RFC 226 (v2) Selective interpolation in single ... Jarkko Hietaniemi
- Re: RFC 226 (v2) Selective interpolation in single ... Damian Conway
- Re: RFC 226 (v2) Selective interpolation in sin... Jarkko Hietaniemi
- Re: RFC 226 (v2) Selective interpolation in sin... Damian Conway
- Re: RFC 226 (v2) Selective interpolation in... Uri Guttman
- Re: RFC 226 (v2) Selective interpolation in... Damian Conway
- Re: RFC 226 (v2) Selective interpolatio... Glenn Linderman
- Re: RFC 226 (v2) Selective interpolation in single ... Glenn Linderman
- Re: RFC 226 (v2) Selective interpolation in sin... Philip Newton
- Re: RFC 226 (v2) Selective interpolation in sin... Bart Lateur
- Re: RFC 226 (v2) Selective interpolation in single ... Philip Newton
- Re: RFC 226 (v2) Selective interpolation in single ... Andy Dougherty
- Re: RFC 226 (v2) Selective interpolation in sin... Nathan Wiger