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

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

Thread Previous
Rafael Garcia-Suarez
May 10, 2008 13:22
Re: [PATCH] Add ..., !!!, and ??? operators
Message ID:
2008/5/10 chromatic <>:
> 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).


> 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 Perl Programming lists via nntp and http.
Comments to Ask Bjørn Hansen at | Group listing | About