develooper Front page | perl.perl5.porters | Postings from May 2008

Re: [PATCH] Add ..., !!!, and ??? operators

Thread Previous
From:
Rafael Garcia-Suarez
Date:
May 10, 2008 13:22
Subject:
Re: [PATCH] Add ..., !!!, and ??? operators
Message ID:
b77c1dce0805101322y63935809yb1a466ae3eacbd35@mail.gmail.com
2008/5/10 chromatic <chromatic@wgz.org>:
> Per a TODO in pod/perltodo.pod, here's a patch that adds the yada, yada, yada
> operators.  It includes documentation and a test file (attached, not part of
> the patch).

Woot.

> As Ben Morrow points out, this version has a slight incompatibility with the
> match operator ?? nestled up against the ternary conditional operator without
> intervening whitespace.  I suspect that a bit of opcode rewriting would work,
> if there's sufficient lookhead... but that's more work than I want to do at
> the moment.

I don't see an easy way out for this one. But that's the kind of
incompatibility we can live with. (Like the incompatibility with
applying three times the negation operator to a term.)

Thread Previous


nntp.perl.org: Perl Programming lists via nntp and http.
Comments to Ask Bjørn Hansen at ask@perl.org | Group listing | About