>>>>> "DC" == Damian Conway <[EMAIL PROTECTED]> writes:

  >> > 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)?

  DC> I don't think so. I think \I..\E should just impose qq{..} semantics on
  DC> the text in between. So you'd still write:

  DC>   "......\I${\func($arg1)}\E......"
  DC> or
  DC>   "......\I@{[func($arg1)]}\E......"

that makes good sense. so in a single quote string you can have domains
of double quote behavior.

now, what if the double quoted range had a \E in it? either directly or
via interpolation? maybe the end escape should be another char than \E?

uri

-- 
Uri Guttman  ---------  [EMAIL PROTECTED]  ----------  http://www.sysarch.com
SYStems ARCHitecture, Software Engineering, Perl, Internet, UNIX Consulting
The Perl Books Page  -----------  http://www.sysarch.com/cgi-bin/perl_books
The Best Search Engine on the Net  ----------  http://www.northernlight.com

Reply via email to