> 1?:1 is incorrect Perl. perl -e '1?:1' will also give a syntax error. The > problem was previously masked by the fact that perl -ew '1?:1' never executes > 1?:1 as a piece of Perl. For perl -ew '1?:1' the script is 'w' and 1?:1 is an > argument to the script,
That is a very good answer to my question. So now on to question #2: Why isn't '1?:1' valid Perl?
-J
|