>>>>> "LW" == Larry Wall <[EMAIL PROTECTED]> writes:

  LW> On Fri, Aug 13, 2004 at 07:05:28PM -0400, Uri Guttman wrote:
  LW> :   LW> :         splurt + 1      # same??
  LW> :   LW> :         splurt +1       # work on +1??
  LW> : 
  LW> : so how do the 2 above get parsed? the space between + and 1 looks alike
  LW> : a 0-ary splurt but the +1 could be 0-ary added to 1 or unary with +1 as
  LW> : its arg. this could mean a form of white space sensitivity.

  LW> That's the sort of whitespace dependency we're trying to avoid now.
  LW> So those both mean splurt(+1).  I suppose the first form could be
  LW> made to spit a warning since it's probably a mistake.  But it's no
  LW> worse than the situation in Perl 5 in that regard where you have to
  LW> write splurt() + 1 if that's what you mean.

i have no issue with splurt() being needed to disambiguate. i just
wanted to see your take (this week :) on it as i felt the table was
ambiguous so far. as far as making it a warning, wouldn't that make the
warning space sensitive? :-/

uri

-- 
Uri Guttman  ------  [EMAIL PROTECTED]  -------- http://www.stemsystems.com
--Perl Consulting, Stem Development, Systems Architecture, Design and Coding-
Search or Offer Perl Jobs  ----------------------------  http://jobs.perl.org

Reply via email to