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

Reply via email to