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

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

Thread Next
From:
chromatic
Date:
May 10, 2008 12:52
Subject:
[PATCH] Add ..., !!!, and ??? operators
Message ID:
200805101252.11961.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).

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.

-- c


Thread Next


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