If postfix "!" was up for grabs - which it probably isn't - what would
you do with it?

One interesting suggestion was to have it as a shorthand for assertion:

sub foo {
    (@_ > 0)!;
    ...
}

(Or even have ! be a valid statement terminator, so "(@_>0)!" would work.)

Or you could have it doing something to variables: $a = $b! + $c;
(But what?)

Fun, eh?

-- 
The use of COBOL cripples the mind; its teaching should, therefore, be
regarded as a criminal offence.
                -- Edsger W. Dijkstra, SIGPLAN Notices, Volume 17, Number 5

Reply via email to